comp.lang.ada
 help / color / mirror / Atom feed
From: "ivan markose" <ivanmarkose@hotmail.com>
Subject: Re: beginner in GNAT for Windows
Date: Wed, 23 Jan 2002 12:42:21 +0800
Date: 2002-01-23T12:42:21+08:00	[thread overview]
Message-ID: <3c4e3f48@news.starhub.net.sg> (raw)
In-Reply-To: 3c4cff74@news.starhub.net.sg


Having read the replies to my query yesterday(21 jan 00), I uninstalled Gnat
from my D drive and set it up in the C drive, where it nows lives in C:\Gnat
.
I also changed the ADA_INCLUDE_PATH variable to c:\Gnat;c:\Gnat\bin,
through the environment editor on my NT machine. The registry entries all
have C as the root directory now.

On running:
C:\GNAT\bin>gnatls -v

This was the output:

GNATLS 3.13p  (20000509) Copyright 1997-1999 Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   c:\Gnat\
   c:\Gnat\bin\
   C:\GNAT\Bindings\Win32Ada\
   C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adainclude\

Object Search Path:
   <Current_Directory>
   C:\GNAT\Bindings\Win32Ada\
   C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\


Source Search Path now includes c:\gnat and c:\gnat\bin - the latter
being where gcc lives.

A run like this however still failed to find gcc

C:\GNAT\bin>gcc -c c:\gnat\examples\hello.adb

C:\GNAT\bin>gnatbind hello

C:\GNAT\bin>gnatlink hello
gnatlink: Couldn't locate gcc

Is there anything else I should do?

Thanks to Gautier, Jerry and John for replies to my post.

Regards
Ivan Markose

"ivan markose" <ivanmarkose@hotmail.com> wrote in message
news:3c4cff74@news.starhub.net.sg...
>
> I have tried to compile and run the 'Hello world' example given in the
> User's guide like so: (This being a copy of the action at the DOS
>prompt)...







  parent reply	other threads:[~2002-01-23  4:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-22  5:57 beginner in GNAT for Windows ivan markose
2002-01-22 10:05 ` Jerry van Dijk
2002-01-22 11:29 ` John English
2002-01-23  4:42 ` ivan markose [this message]
2002-01-23  8:52   ` Pascal Obry
2002-01-23 12:40   ` John English
2002-01-23 13:24   ` Jerry van Dijk
  -- strict thread matches above, loose matches on Subject: below --
2002-01-23 11:05 Gautier Write-only-address
2002-01-25  2:07 ivan markose
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox