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]

Need help building Ada in gcc 4.2.1 on Fedore 6


I'm building Ada on Fedora 6, and it almost works. When doing a make bootstrap, I get through all three stages of compiler building, but then a fatal error occurs when the GNAT library is being built.

Here is my configure command:
../gcc-4.2.1/configure --prefix=/opt/gcc --mandir=/usr/local/share/man --infodir=/usr/local/share/info --enable-shared --enable-__cxa_atexit --disable-libunwind-exceptions --disable-dssi --enable-plugin --enable-threads=posix --enable-languages=c,ada,c++,fortran


The error occurs when compiling a-coteio.ads. It contains the spec for Ada.Complex_Text_IO, which depends on Interfaces.C_Streams.

The error message is
a-coteio.ads:18:06: file "interfaces-c_streams.ads" not found

There is indeed no file with that name, but the file that should be found, i-cstrea.ads, does exist but is ignored. My guess is that the routine that should compress "interfaces-c_streams" down to "i-cstrea" is not working properly. This should be easy to fix, I just have no idea of where to look.


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