This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix path in ada/Makefile.in
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Geert Bosch <bosch at gnat dot com>
- Date: Thu, 28 Mar 2002 14:01:06 +0100
- Subject: Fix path in ada/Makefile.in
I've committed the appended patch as obvious to bring us one step
further.
The patch fixes the build error when building the tools on mainline:
make[2]: *** No rule to make target `Makefile', needed by `stamp-sdefault'. Stop.
make[2]: Leaving directory `/builds/gcc/gcc-3.2-devel/gcc/ada/tools'
make[1]: *** [gnattools1] Error 2
But even with this patch, building the tools does not work, I do get
this error:
../../xgcc -c -I./ -I../rts -I. -I/cvs/gcc/gcc/ada -B../../ -g -gnatpg -gnata -I- /cvs/gcc/gcc/ada/prj-makr.adb
prj-makr.adb:36:06: file "prj-pp.ads" not found
gnatmake: "/cvs/gcc/gcc/ada/prj-makr.adb" compilation error
Geert, could you fix this, please? This is still a left-over from
your patch from two weeks ago.
Andreas
2002-03-28 Andreas Jaeger <aj@suse.de>
* Makefile.in (stamp-sdefault): Fix path for Makefile.
============================================================
Index: gcc/ada/Makefile.in
--- gcc/ada/Makefile.in 2002/03/13 00:36:45 1.24
+++ gcc/ada/Makefile.in 2002/03/28 12:58:22
@@ -2150,7 +2150,7 @@ ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
# 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
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj