comp.lang.ada
 help / color / mirror / Atom feed
From: Radu Stefanescu <Radu.Stefanescu@sophia.inria.fr>
Subject: Re: Gnat Installation conflict on Linux
Date: Wed, 20 Mar 2002 18:29:42 +0100
Date: 2002-03-20T18:29:42+01:00	[thread overview]
Message-ID: <3C98C706.62AD797F@sophia.inria.fr> (raw)
In-Reply-To: 3c98b5f3$0$12228$4d4efb8e@news.be.uu.net

I currently have an alias A="export PATH=/usr/local/gnat/bin:$PATH" ...

Regards,
Radu

lode_leroy at hotmail dot com wrote:
> 
> 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.
> >
> >

-- 
Radu Stefanescu
I.N.R.I.A, Projet Epidaure 
2004 Route des Lucioles BP 93, 
06902 Sophia-Antipolis France 
Tel: +33 (0)4 92 38 79 27 
Fax: +33 (0)4 92 38 76 69
E-Mail: Radu.Stefanescu@sophia.inria.fr



      reply	other threads:[~2002-03-20 17:29 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
2002-03-20 17:29   ` Radu Stefanescu [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