comp.lang.ada
 help / color / mirror / Atom feed
From: "lode_leroy at hotmail dot com" <"lode_leroy at hotmail dot com">
Cc: darkelf@aim.homelinux.com
Subject: Re: Gnat Installation conflict on Linux
Date: Wed, 20 Mar 2002 17:16:49 +0100
Date: 2002-03-20T17:16:49+01:00	[thread overview]
Message-ID: <3c98b5f3$0$12228$4d4efb8e@news.be.uu.net> (raw)
In-Reply-To: a5dj6j$6je11$1@ID-107015.news.dfncis.de

Hi,

I had similar problems... the problem is that the tgz version is 
replacing gcc. The RPM version is compiled differently, it's called 
gnatgcc (or so).

My solution is to put /usr/gnat/bin in the beginning of the path,
in the .bashrc for my "ada" account, and leave the other accounts as is.
This allows 'root' to compile other stuff with gcc-2.9.x...

-- lode
Using slackware 8.0 !
PS: you might want to upgrate to emacs21.1 from slackware.com - current

Nazgul wrote:
> Hi, I'm installing Gnat 3.14p under slackware linux, via a .tgz
> 
> The problem is, if I install it under /usr/gnat, and insert /usr/gnat/bin in
> front of the path, then when I want to use gcc to compile a .c file, for
> example, then the /usr/gnat/bin 2.8.1 version is executed.
> 
> If I append /usr/gnat/bin at the end of the path, then the newer system
> installed version of gcc (2.95) runs with the command 'gcc', but when I trie
> to compile Ada with gnatmake, it doesn't work, gcc reports "No Ada compiler
> installed on the system"
> 
> Any way to make them both work?
> 
> Thanks.
> 
> 





  parent reply	other threads:[~2002-03-20 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 14:54 Gnat Installation conflict on Linux Nazgul
2002-02-25 15:03 ` Jean-Marc Bourguet
2002-02-25 15:15   ` Nazgul
2002-02-25 18:03 ` rhaper
2002-02-26  6:08 ` Simon Wright
2002-03-20 16:16 ` lode_leroy at hotmail dot com [this message]
2002-03-20 17:29   ` Radu Stefanescu
replies disabled

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