comp.lang.ada
 help / color / mirror / Atom feed
From: Zouplaz <pouet@pouet.com>
Subject: Ada compiler not installed on this system
Date: 24 Mar 2004 16:16:07 GMT
Date: 2004-03-24T17:16:07+01:00	[thread overview]
Message-ID: <Xns94B6AF58127B3Zoupla@212.27.42.69> (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



             reply	other threads:[~2004-03-24 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-24 16:16 Zouplaz [this message]
2004-03-24 17:18 ` Ada compiler not installed on this system 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
replies disabled

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