From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,89e4812782cd9412 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-20 09:31:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!deine.net!ciril.fr!cines.fr!univ-lyon1.fr!unice.fr!news-sop.inria.fr!not-for-mail From: Radu Stefanescu Newsgroups: comp.lang.ada Subject: Re: Gnat Installation conflict on Linux Date: Wed, 20 Mar 2002 18:29:42 +0100 Organization: INRIA Sophia Antipolis Message-ID: <3C98C706.62AD797F@sophia.inria.fr> References: <3c98b5f3$0$12228$4d4efb8e@news.be.uu.net> NNTP-Posting-Host: jamot.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: fr, fr-FR, en Xref: archiver1.google.com comp.lang.ada:21493 Date: 2002-03-20T18:29:42+01:00 List-Id: 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