From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Problems by GNAT installation on Linux Mandrake OS
Date: Sun, 20 Oct 2002 06:40:31 -0500
Date: 2002-10-20T06:40:31-05:00 [thread overview]
Message-ID: <mailman.1035114063.11866.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: slrnar53h8.1dj.randhol+news@kiuk0152.chembio.ntnu.no
----- Original Message -----
From: "Preben Randhol" <randhol+news@pvv.org>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: October 20, 2002 6:06 AM
Subject: Re: Problems by GNAT installation on Linux Mandrake OS
> Karim wrote:
> > O.k, here are more informations, perhaps that can help
> > The ADA version is 3.14p and the mandrake version is hmm (I try to
> > remember)
> > ...I be sure that is an very new Version like 8.x ..
> > The error message above is the exactly output on the screen..
> > Is there something wrong with the path ?
> > There were also a message when I installed gnat the first time in
> > normal path /usr/gnat/bin : MESSAGE : There are some old ggc files,
> > please remove it or try another options.
>
> 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.:
Very likely your problem is that when you type the command
gcc -c hello.adb
you are getting the standard (non-ada) version of gcc.
To be sure type gcc -v
You will probably get something like
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
as a response.
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
After doing that when you type gcc -v you should receive the
response
Reading specs from /usr/gnat/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/specs
>
>
> --
> Ada95 is good for you.
> http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>
>
next prev parent reply other threads:[~2002-10-20 11:40 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. [this message]
2002-10-20 11:57 ` Preben Randhol
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