This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
building 4.0.0 and ada with gnat-3.15p
- From: Chris McCraw <fool at cs dot utexas dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Apr 2005 17:30:39 -0500
- Subject: building 4.0.0 and ada with gnat-3.15p
has anyone managed this with success? i can built ada programs just
fine with "gnatmake file.adb" when the gnat 3.15p binary distribution
is at the end of my $PATH, but i cannot build gcc-4.0 after a
configure --enable-languages=ada with it at the end of my $PATH
i am trying to use gcc-3.3.4 to build gcc-4.0, rather than the ancient
version of gcc that ships with gnat (so, putting the gnat dir in my
$PATH first doesn't seem to be an option since the gcc binary there
will overshadow /usr/local/bin/gcc which is otherwise first in my $PATH).
i have no ada support in my gcc-3.3.4 build but would like it in my
4.0.0 build. below is the error during the 'make bootstrap':
make[2]: Entering directory `/v/filer3/v1q010/fool/Work/build/lin_gcc/gcc'
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -gnatpg -gnata -I- -I. -Iada -I/u/fool/Work/build/gcc-4.0.0/gcc/ada /u/fool/Work/build/gcc-4.0.0/gcc/ada/ada.ads -o ada/ada.o
gcc: /u/fool/Work/build/gcc-4.0.0/gcc/ada/ada.ads: Ada compiler not installed on this system
make[2]: *** [ada/ada.o] Error 1
make[2]: Leaving directory `/v/filer3/v1q010/fool/Work/build/lin_gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/v/filer3/v1q010/fool/Work/build/lin_gcc/gcc'
make: *** [bootstrap] Error 2
i use debian stable and a self-built gcc-3.3.4 which works well otherwise.
will gcc-4.0.0 build with gcc-2.8.1? (what ships with gnat-3.15p, the latest
binary distribution i could find...)
thanks in advance for any advice!