From: Gerald Kasner <Gerald.Kasner@Physik.Uni-Magdeburg.DE>
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: <33CDC800.496ED885@Physik.Uni-Magdeburg.DE> (raw)
In-Reply-To: 33CD621E.7D18@codenet.net
Charlie Gage wrote:
>
> Greetings,
>
> 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)?
>
> Thanks,
> Charlie
> email: cgage@codenet.net
You should make symbolic links from the i386-linux/2.7.2.1/* stuff
like cc1 cpp ... to the i486-linux/2.7.2.1/ directory.
This should work fine.
The i386-linux directory seems to be a naming convention by the
RedHat distribution.
Gerald.Kasner@Physik.Uni-Magdeburg.de
prev 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 ` Robert Dewar
1997-07-17 0:00 ` Gerald Kasner [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