This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Can't compile with Ada from gcc built from current cvs
- To: gcc-help at gcc dot gnu dot org
- Subject: Can't compile with Ada from gcc built from current cvs
- From: James Dennett <jdennett at acm dot org>
- Date: Thu, 01 Nov 2001 01:20:23 +0000
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