comp.lang.ada
 help / color / mirror / Atom feed
* gnat compiler problems on linux
@ 1997-09-01  0:00 RHS Linux User
  0 siblings, 0 replies; 2+ messages in thread
From: RHS Linux User @ 1997-09-01  0:00 UTC (permalink / raw)



dear ada users,

when i run

$ gnatmake hello.adb

i get the following messages:

gcc -c hello.adb
gcc: hello.adb: linker input file unused since linking not done
gnatmake: "hello.ali" WARNING file not found after compile

has anybody seen this problem before?  do you know why gcc is not
creating the hello.ali file?

i have gnat v3.05 and gcc v2.7.2.1-2
both in redhat linux rpm format.

thanks for your help,
gwk

gregwk@access.mountain.net




^ permalink raw reply	[flat|nested] 2+ messages in thread

* gnat compiler problems on linux
@ 1997-09-01  0:00 Marc Wachowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Wachowitz @ 1997-09-01  0:00 UTC (permalink / raw)



RHS Linux User <gregwk@access.mountain.net> wrote:
> [...]  do you know why gcc is not creating the hello.ali file?
> i have gnat v3.05 and gcc v2.7.2.1-2
> both in redhat linux rpm format.

I guess that your /usr/bin/gcc is from the gcc distribution, and just
doesn't know about Ada - thus it simply ignores *.ads and *.adb; later
gnatmake is of course missing the compilation results. You have to use
the gcc binary which comes from GNAT (the binary distribution should
include that one, and instructions how to install it correctly).

Anyway, you might consider using a newer version: GNAT 3.09 is current;
supposedly 3.10 should be released to the public "soon" [I don't know].

-- Marc Wachowitz <mw@ipx2.rz.uni-mannheim.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-01  0:00 gnat compiler problems on linux RHS Linux User
  -- strict thread matches above, loose matches on Subject: below --
1997-09-01  0:00 Marc Wachowitz

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