From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Problems by GNAT installation on Linux Mandrake OS
Date: Sat, 19 Oct 2002 16:06:15 -0500
Date: 2002-10-19T16:06:15-05:00 [thread overview]
Message-ID: <mailman.1035061622.14653.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 4a1641ae.0210190432.12f412ad@posting.google.com
----- Original Message -----
From: "Karim" <fab102@bluemail.ch>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: October 19, 2002 7:32 AM
Subject: Problems by GNAT installation on Linux Mandrake OS
> Hi
>
> I tried to install the Gnat compiler with the doconfig and the
> doinstall script..all works fine. First I installed all into the
> /usr/gnat/bin Library.
> After that, I tried to compile a simple hello World source like this
> gcc -c hello.adb (and all that as root in the /usr/gnat/bin
> directory)
> There is an output from the system like this : gcc: hello.adb : Ada
> compiler not installed on this system .
> I changed the directory in doconfig script to /gnat .. and received
> the same message output.. what is wrong ?
>
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
> Thanks for your support
> _______________________________________________
> 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-19 21:06 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
[not found] ` <3DB16BF5.404EBF3C@myob.com>
2002-10-19 15:10 ` sk
2002-10-19 21:06 ` David C. Hoos, Sr. [this message]
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