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,FROM_ADDR_WS 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 08:16:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.esat.net!newsfeed.wirehub.nl!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!news.be.uu.net!not-for-mail Date: Wed, 20 Mar 2002 17:16:49 +0100 From: "lode_leroy at hotmail dot com" <"lode_leroy at hotmail dot com"> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: nl-be, nl, en, fr MIME-Version: 1.0 Newsgroups: comp.lang.ada CC: darkelf@aim.homelinux.com Subject: Re: Gnat Installation conflict on Linux References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3c98b5f3$0$12228$4d4efb8e@news.be.uu.net> NNTP-Posting-Host: uu194-7-65-65.unknown.uunet.be X-Trace: 1016641011 news.be.uu.net 12228 194.7.65.65 X-Complaints-To: abuse@be.uu.net Xref: archiver1.google.com comp.lang.ada:21490 Date: 2002-03-20T17:16:49+01:00 List-Id: 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. > >