Can't compile with Ada from gcc built from current cvs
James Dennett
jdennett@acm.org
Wed Oct 31 17:23:00 GMT 2001
It was nice to see Ada support being merged into the main gcc
tree, but although I can build and install as reported by:
[james@sepulchre james]$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc/configure --enable-languages=c,c++,ada
Thread model: single
gcc version 3.1 20011031 (experimental)
When I try to compile a toy piece of code I consistently hit:
[james@sepulchre james]$ gcc -c hello.adb
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned
And true enough, system.ads is only on my system in my source
trees and as part of the 2.8.1-based ada installation.
[james@sepulchre james]$ locate system.ads | grep /system
/home/james/gnat/gcc/gcc/ada/system.ads
/home/james/gnat-3.13p-src/src/ada/system.ads
/usr/lib/gcc-lib/i386-redhat-linux/2.8.1/adainclude/system.ads
Is there some secret to getting a proper Ada installation from
the gcc cvs tree? My C and C++ support seems good, but Ada
just won't play.
-- James Dennett
More information about the Gcc-help
mailing list