From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Problems by GNAT installation on Linux Mandrake OS
Date: Sun, 20 Oct 2002 11:57:08 +0000 (UTC)
Date: 2002-10-20T11:57:08+00:00 [thread overview]
Message-ID: <slrnar56g0.31g.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: mailman.1035114063.11866.comp.lang.ada@ada.eu.org
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
next prev parent reply other threads:[~2002-10-20 11:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-19 12:32 Problems by GNAT installation on Linux Mandrake OS Karim
2002-10-19 14:28 ` sk
2002-10-19 19:17 ` Karim
2002-10-20 11:06 ` Preben Randhol
2002-10-20 11:40 ` David C. Hoos, Sr.
2002-10-20 11:57 ` Preben Randhol [this message]
2002-10-20 16:38 ` Simon Wright
[not found] ` <3DB16BF5.404EBF3C@myob.com>
2002-10-19 15:10 ` sk
2002-10-19 21:06 ` David C. Hoos, Sr.
2002-10-20 12:05 ` Karim
2002-10-20 12:32 ` David C. Hoos, Sr.
2002-10-20 13:31 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox