comp.lang.ada
 help / color / mirror / Atom feed
* Ada compiler not installed on this system
@ 2004-03-24 16:16 Zouplaz
  2004-03-24 17:18 ` Preben Randhol
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zouplaz @ 2004-03-24 16:16 UTC (permalink / raw)


Hello, I would like to learn ada programming (on a linux system).

I've recently upgraded gcc from 2.96 to 3.3.3 (compiled from source to 
avoid rpm dependancy nightmares)... So this is my "official" gcc compiler.
To setup the ada compiler the easy way seems to install gnat 1.15 binaries.
So, they are now under /usr/gnat/

I've added /usr/gnat/bin after my PATH variable, and gnatmake is alive from 
everywhere.

As you must guess, now I can't compile anything because the gcc binary 
invoked by gnatmake is the 3.3.3 without ada support and not the 2.8.1 
included in /usr/gnat/bin

So :

1) How can I tell gnatmake to use /usr/gnat/bin/gcc instead, without 
modifying my PATH variable each time I want to switch from one language to 
the other
2) Is there a simple method to add ada support to gcc 3.3.3 (I presume that 
--enable-language=ada,c++ is not enough, that would be a dream)

I think a solution for the first option is certainly easier for me (I not a  
configure / make / compile guru !!)

Thank you



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

end of thread, other threads:[~2004-03-26  8:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 16:16 Ada compiler not installed on this system Zouplaz
2004-03-24 17:18 ` Preben Randhol
2004-03-25  6:55 ` Martin Krischik
2004-03-25 14:06   ` Georg Bauhaus
2004-03-25 19:39     ` Martin Krischik
2004-03-26  8:07 ` Harald Korneliussen

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