comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry van Dijk <jvandyk@attglobal.net>
Subject: Re: beginner in GNAT for Windows
Date: 23 Jan 2002 14:24:53 +0100
Date: 2002-01-23T14:24:53+01:00	[thread overview]
Message-ID: <wkd701mc7u.fsf@attglobal.net> (raw)
In-Reply-To: 3c4e3f48@news.starhub.net.sg


"ivan markose" <ivanmarkose@hotmail.com> writes:

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

Ok, you are almost there. However I think you are confused by the different
environment variables used.

The most important one is the PATH variable, on NT, if you look at the PATH
environment variable for the administrator, it should have 'c:\gnat\bin' as
the first enty. If it isn't (but probably is in the user environment variable
PATH) you have to de-install GNAT and install it again from an account that
has administrator rights.

The Ada_Include_Path is used to tell the compiler where to find specific
ada spec files, as Ada_Objects_Path is used to tell the compiler where the
related object files live. You do not need to set either of them for GNAT
itself. On NT these paths are set in the registry, and the 'gnatls -v'
command shows you where they point. I see in you message that they are
Ok.

So, check the PATH environment variables on your machine, and try to use
GNAT again when they are set-up properly. If you still have problems, post
again.

success,
Jerry.

-- 
--  Jerry van Dijk   | email: jvandyk@attglobal.net
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk



  parent reply	other threads:[~2002-01-23 13:24 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
2002-01-23  8:52   ` Pascal Obry
2002-01-23 12:40   ` John English
2002-01-23 13:24   ` Jerry van Dijk [this message]
  -- 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