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 05:12:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ulv.nextra.no!nextra.com!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Problems by GNAT installation on Linux Mandrake OS Date: Sun, 20 Oct 2002 11:57:08 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <4a1641ae.0210190432.12f412ad@posting.google.com> <4a1641ae.0210191117.4dc171b5@posting.google.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1035115028 23104 129.241.83.78 (20 Oct 2002 11:57:08 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sun, 20 Oct 2002 11:57:08 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29960 Date: 2002-10-20T11:57:08+00:00 List-Id: 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. Preben -- Ada95 is good for you. http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf