This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
FSF Ada compilation error
- From: Erik Rozendaal <dlr at acm dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Cc: bosch at gnat dot com
- Date: Tue, 26 Mar 2002 10:49:17 +0100
- Subject: FSF Ada compilation error
I'm trying to compile the CVS gnat compiler (gcc 3.2) on RedHat Linux
7.2. The compiler I use is gnat-3.14p from ACT Libre. This compiler is
used for both the C and Ada files. Everything works fine up to building
the GNAT tools. I had to apply the attached patch to fix a Makefile
dependency error. After applying the patch and recompiling I get the
following error:
../../gnatmake -c -I../rts -I. -I/home/erik/projects/gcc/gcc/ada
gnatname --GCC="../../xgcc -B../../ -g -gnatpg -gnata"
../../xgcc -c -I./ -I../rts -I. -I/home/erik/projects/gcc/gcc/ada
-B../../ -g -gnatpg -gnata -I- /home/erik/projects/gcc/gcc/ada/gnatname.adb
gnatname.adb:32:06: file "prj-makr.ads" not found
gnatmake: "/home/erik/projects/gcc/gcc/ada/gnatname.adb" compilation error
make[2]: *** [../../gnatname] Error 4
make[2]: Leaving directory `/home/erik/projects/gcc-build/gcc/ada/tools'
make[1]: *** [gnattools2] Error 2
make[1]: Leaving directory `/home/erik/projects/gcc-build/gcc/ada'
make: *** [gnattools] Error 2
Looks like the Prj.Makr package referred by gnatname.adb is not in CVS.
This was already noticed in
<URL:http://gcc.gnu.org/ml/gcc/2002-03/msg00439.html>. Is anyone going
to add this file soon?
Both the Makefile dependency error and the gnatname error seem to have
been introduced by on March 7th with the big merge by Geert Bosch.
Thanks,
Erik Rozendaal
Index: gcc/ada/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/ada/Makefile.in,v
retrieving revision 1.24
diff -u -r1.24 Makefile.in
--- gcc/ada/Makefile.in 13 Mar 2002 00:36:45 -0000 1.24
+++ gcc/ada/Makefile.in 26 Mar 2002 09:30:28 -0000
@@ -2150,7 +2150,7 @@
# these -- there are no default locations.
sdefault.adb: stamp-sdefault ; @true
stamp-sdefault : $(srcdir)/../version.c $(srcdir)/../move-if-change \
- Makefile
+ ../Makefile
$(ECHO) "pragma Style_Checks (Off);" >tmp-sdefault.adb
$(ECHO) "package body Sdefault is" >>tmp-sdefault.adb
$(ECHO) " S1 : aliased constant String := \"$(ADA_INCLUDE_DIR)/\";" >>tmp-sdefault.adb