From: Simon Wright <simon@pushface.org>
Subject: Re: Problems by GNAT installation on Linux Mandrake OS
Date: 20 Oct 2002 17:38:13 +0100
Date: 2002-10-20T17:38:13+01:00 [thread overview]
Message-ID: <x7vn0p9f4lm.fsf@pushface.org> (raw)
In-Reply-To: slrnar56g0.31g.randhol+news@kiuk0152.chembio.ntnu.no
Preben Randhol <randhol+news@pvv.org> 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.
next prev parent reply other threads:[~2002-10-20 16:38 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
2002-10-20 16:38 ` Simon Wright [this message]
[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