comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: Trouble getting started with GNAT for Win95/NT
Date: 1997/05/29
Date: 1997-05-29T00:00:00+00:00	[thread overview]
Message-ID: <338D8EC2.1669@gsfc.nasa.gov> (raw)
In-Reply-To: 3386D256.CD2@mail.connect.usq.edu.au


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




      reply	other threads:[~1997-05-29  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-24  0:00 Trouble getting started with GNAT for Win95/NT Matthew Kennedy
1997-05-29  0:00 ` Stephen Leake [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox