comp.lang.ada
 help / color / mirror / Atom feed
From: John English <je@brighton.ac.uk>
Subject: Re: beginner in GNAT for Windows
Date: Tue, 22 Jan 2002 11:29:58 +0000
Date: 2002-01-22T11:28:57+00:00	[thread overview]
Message-ID: <3C4D4D36.4C4EB2AB@brighton.ac.uk> (raw)
In-Reply-To: 3c4cff74@news.starhub.net.sg

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
-----------------------------------------------------------------



  parent reply	other threads:[~2002-01-22 11:29 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 [this message]
2002-01-23  4:42 ` ivan markose
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