comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: How to use gcc for gnat and C/C++?
Date: 1997/07/17
Date: 1997-07-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.869155719@merv> (raw)
In-Reply-To: 33CD621E.7D18@codenet.net


Charlie asks

<<I have installed gnat version 3.09 for Redhat linux 4.2, which has
the GNU C/C++ compiler version 2.7.2.1 installed.  My problem is that
after installing gnat, the "gcc" for C was replaced with the version
for gnat.  Now the gnat version of "gcc" does not work with C compiles.
I think it might be that the version of gnat I got was compiled for
i486-linux, and my C compiler was for version i386-linux.  At least
this is what I discovered after looking in /usr/lib/gcc-lib.

Do I need to find a new version of gnat, or am I doing something
wrong here?  Is there a way to separate the two compilers, such as,
gcc (for C), and gada (for gnat)?
>>

This is the sort of question that is more likely to be answered on the
chat@gnat.com list, which has many people who know about such things.
Subscribe by sending a message to chat-request@gnat.com. This mailing
list chat@gnat.com is specifically for discussion of issues in using
GNAT, not for general Ada discussions.

By the way, the next Linux release will be much more Redhat friendly. We
have decided to standardize on Redhat as the Linux we target. This does
not mean that GNAT cannot be used with other Linux versions, but it will
mean that installation on a Redhat version will be more straightforward.





      parent reply	other threads:[~1997-07-17  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-16  0:00 How to use gcc for gnat and C/C++? Charlie Gage
1997-07-17  0:00 ` Gerald Kasner
1997-07-17  0:00 ` Robert Dewar [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