This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] fix install-gnatlib in Makefile.in to match previous changeto Make-lang.in
- From: Laurent Guerby <guerby at acm dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: schwab at suse dot de
- Date: 02 Mar 2003 01:12:02 +0100
- Subject: [Ada] fix install-gnatlib in Makefile.in to match previous changeto Make-lang.in
- Organization:
Since we now do "cd ada" in Make-lang.in install-gnatlib, we must
remove some ada/ in Makefile.in, otherwise it doesn't work.
Waiting for bootstrap and tests, ok to commit if it works?
Andreas, my build script uses absolute configure pathes,
could you check
Right now install doesn't work with the library and fails silently (BTW,
why is there a ignore fail here?), one more reason to test only after
install (like I do for Ada :), otherwise we won't catch these errors
until making releases.
I don't remember who was arguing a few monthes ago that testing in build
tree was the way to go, I personally never understood why it is done
this way for GCC.
Any (documented) way to run the C testsuite with an installed compiler
and not within the build?
2003-03-02 Laurent Guerby <guerby at acm dot org>
* Makefile.in (install-gnatlib): Match previous change there so it
works.
diff -u -r1.39 Makefile.in
--- Makefile.in 30 Jan 2003 00:46:22 -0000 1.39
+++ Makefile.in 2 Mar 2003 00:01:01 -0000
@@ -1717,19 +1717,19 @@
$(RMDIR) $(DESTDIR)$(ADA_INCLUDE_DIR)
-$(MKDIR) $(DESTDIR)$(ADA_RTL_OBJ_DIR)
-$(MKDIR) $(DESTDIR)$(ADA_INCLUDE_DIR)
- -$(INSTALL_DATA) ada/rts/Makefile.adalib $(DESTDIR)$(ADA_RTL_OBJ_DIR)
- for file in ada/rts/*.ali; do \
+ -$(INSTALL_DATA) rts/Makefile.adalib $(DESTDIR)$(ADA_RTL_OBJ_DIR)
+ for file in rts/*.ali; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
done
- -for file in ada/rts/*$(arext);do \
+ -for file in rts/*$(arext);do \
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
done
ifeq ($(strip $(filter-out alpha% dec vms% openvms%
alphavms%,$(targ))),)
- -for file in ada/rts/lib*$(soext);do \
+ -for file in rts/lib*$(soext);do \
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
done
else
- -for file in ada/rts/lib*-**$(soext);do \
+ -for file in rts/lib*-**$(soext);do \
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
done
endif
@@ -1738,7 +1738,7 @@
-( cd $(DESTDIR)$(ADA_RTL_OBJ_DIR) && \
$(LN_S) libgnarl-*$(soext) libgnarl$(soext) )
# This copy must be done preserving the date on the original file.
- for file in ada/rts/*.adb ada/rts/*.ads; do \
+ for file in rts/*.adb rts/*.ads; do \
$(INSTALL_DATA_DATE) $$file $(DESTDIR)$(ADA_INCLUDE_DIR); \
done
cd $(DESTDIR)$(ADA_INCLUDE_DIR); $(CHMOD) a-wx *.adb
--
Laurent Guerby <guerby at acm dot org>