This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
libjava "make install" is broken again
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Alexandre Oliva <aoliva at redhat dot com>
- Date: Sun, 03 Mar 2002 14:40:24 +1300
- Subject: libjava "make install" is broken again
This patch caused "make install" of libjava to silently fail (the same
problem I was seeing last week before Andreas Schwab's patch fixed it):
2002-02-28 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
Note that the patch actually does the opposite to what is in the
ChangeLog, ie it causes libstdc++ flags to be added to the
CXX_FOR_TARGET definition for libjava. I am sure this is unneccessary
since we agreed that libjava does not depend on libstdc++ (and
-shared-libgcc does still gets added).
The patch below fixes it to match the changelog entry, which fixes the
libjava install. OK to commit?
Bryce.
2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* configure.in (libstdcxx_flags): Really don't add libstdc++-v3 flags
for libjava.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/configure.in,v
retrieving revision 1.120
diff -u -r1.120 configure.in
--- configure.in 2002/03/01 00:49:53 1.120
+++ configure.in 2002/03/03 01:34:51
@@ -50,7 +50,7 @@
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
-libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
+libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to