This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]