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,efc0694fbc88a71f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-20 09:37:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!newspeer.clara.net!news.clara.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Problems by GNAT installation on Linux Mandrake OS Date: 20 Oct 2002 17:38:13 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: <4a1641ae.0210190432.12f412ad@posting.google.com> <4a1641ae.0210191117.4dc171b5@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1035131859 23832 62.49.19.209 (20 Oct 2002 16:37:39 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 20 Oct 2002 16:37:39 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:29964 Date: 2002-10-20T17:38:13+01:00 List-Id: Preben Randhol writes: > David C. Hoos, Sr. wrote: > >> You have to use: > >> > >> gnatmake and gnatgcc not gcc. > > > > This is incorrect information. There is no gnatgcc in the 3.14p > > distribution as it comes from ftp.cs.nyu.edu. The correct solution is > > that which I provided earlier, viz.: > > Hmm. Very odd that they don't call it gnatgcc. In both the Debian > package and the older Redhat package the gcc is named gnatgcc to avoid > this problem. > > > The solution to the problem is to add /usr/gnat/bin in your path > > before the directory where the standard gcc is located, > > probably /usr/bin > > Not a good solution either because then you will use the gcc of > /usr/gnat/bin if you compile a C or C++ program too. F.ex when you need > to compile the kernel. > > I would rather do: > > gnatmake --GCC=/usr/gnat/bin/gnatgcc > > after renaming the /usr/gnat/bin/gcc to /usr/gnat/bin/gnatgcc to avoid > other problems. Or (as I have said before) see http://www.pushface.org/gnatfe/ for a way of having several GNAT installations at the same time and choosing which to use on the basis of an environment variable.