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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,15085f27dfa8e21a X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Trouble getting started with GNAT for Win95/NT Date: 1997/05/29 Message-ID: <338D8EC2.1669@gsfc.nasa.gov>#1/1 X-Deja-AN: 244727036 References: <3386D256.CD2@mail.connect.usq.edu.au> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Reply-To: Stephen.Leake@gsfc.nasa.gov Newsgroups: comp.lang.ada Date: 1997-05-29T00:00:00+00:00 List-Id: Matthew Kennedy wrote: > > I've been using GNAT for DOS and now I would like to try out GNAT for > Win95/NT - I use Win95. However when I install it and try to compile any > of my creations, I get this error (by the way, I included the specific > example 'state.adb' as an attachment): This compiles and links fine on my installation of GNAT 3.09 for Windows 95. > 2. Environment variables set: > > ADA_INCLUDE_PATH=C:\USR\LOCAL\ADAINCLUDE > ADA_OBJECTS_PATH=C:\USR\LOCAL\LIB\GCC-LIB\I386-PC-CYGWIN32\2.7.2\ADALIB I don't have these set; try without? > PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\USR\BIN;C:\USR\LOCAL\LIB\GCC-LIB\I386-PC-CYGWIN32\2.7.2\;C:\USR\EMACS-19.34\BIN You shouldn't need ...\i386-pc-cygwin\2.7.2 in your path, but I don't know why it would hurt. > > 3. Things I've thought of: In my DOS installation, I noticed that my > ADA_OBJECTS_PATH (which has all the .ALI file in it) also had .O files > as well - my Win95 GNAT installation only has .ALI files in the > ADA_OBJECTS_PATH. Have I forgoten to download an archive full of .O > files? Also is my compilation command correct (gnatmake state.adb)? I'm not sure, but I suspect all the .O files are now in libgnat.a, in the 2.7.2 directory; make sure that's there. > Thank you all, > Matt. You might post to the gnat-chat mailing list (see http://www.gnat.com/ for directions). -- - Stephe