From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,82c0c56bebae23b3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-22 03:41:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: John English Newsgroups: comp.lang.ada Subject: Re: beginner in GNAT for Windows Date: Tue, 22 Jan 2002 11:29:58 +0000 Organization: University of Brighton Message-ID: <3C4D4D36.4C4EB2AB@brighton.ac.uk> References: <3c4cff74@news.starhub.net.sg> NNTP-Posting-Host: pcje.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 1011698937 994 193.62.183.48 (22 Jan 2002 11:28:57 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 22 Jan 2002 11:28:57 GMT X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:19173 Date: 2002-01-22T11:28:57+00:00 List-Id: ivan markose wrote: > > 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) > > D:\GNAT\bin>gcc -c d:\gnat\hello.adb > > D:\GNAT\bin>gnatbind hello > > D:\GNAT\bin>gnatlink hello > gnatlink: Couldn't locate gcc > > Why couldn't gnatlink find gcc especially since there was no complaint the > first time ? > > On the other hand I didn't get very far with the following either: > > D:\GNAT\bin>gnatmake d:\gnat\hello > gnatbind -x hello.ali > gnatmake: error, unable to locate gnatbind Sounds like gnatmake/gnatlink are failing to find the other commands using the path; make sure your path includes d:\gnat\bin. It's generally a good idea to start in another directory and then type "gnatmake"; if it can't find gnatmake, your path is *definitely* wrong. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------