This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Ada compiler built but not working
- From: Robert Love <rlove at neosoft dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 1 Jul 2002 14:13:28 -0500
- Subject: Ada compiler built but not working
I've checked the FAQ but didn't see anything like this. I grabbed the
3.1 tarball and built all the languages on my RH 7.2 linux box. I had
a version of Gnat previously installed so I could build the Ada piece of
gcc 3.1.
When the build and install was done I have all the usual tools in
/usr/local/bin, ie. gnat, gnatbind, gnatmake. gnat1 is in
/usr/local/lib/gcc-lib/i686-pc-linux/3.1/gnat1
When I attempt to compile a "hello world" I get the following:
gnatmake hello.adb
gcc -c hello.adb
gcc: hello.adb: Ada compiler not installed on this system
gnatmake: "hello.ali" WARNING: ALI or object file not found after compile
gnatmake: "hello.adb" compilation error.
Note that other pieces seem to have built correctly. I can compile
Fortran for example.
All advice appreciated.
--
Bob Love mail: rlove@neosoft.com
jabber: rlove@jabber.org