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-23 05:42:43 PST Sender: jerry@JVDSYS Newsgroups: comp.lang.ada Subject: Re: beginner in GNAT for Windows References: <3c4cff74@news.starhub.net.sg> <3c4e3f48@news.starhub.net.sg> From: Jerry van Dijk Date: 23 Jan 2002 14:24:53 +0100 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: slip32-106-5-225.rot.nl.prserv.net X-Trace: 23 Jan 2002 13:25:11 GMT, slip32-106-5-225.rot.nl.prserv.net Organization: Global Network Services - Remote Access Mail & News Services X-Complaints-To: abuse@prserv.net Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.us.prserv.net!prserv.net!news3.prserv.net!slip32-106-5-225.rot.nl.prserv.net Xref: archiver1.google.com comp.lang.ada:19233 Date: 2002-01-23T14:24:53+01:00 List-Id: "ivan markose" 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