This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Re: make install problems (libjava) with CVS 3.0.x branch
- To: tromey at redhat dot com
- Subject: [PATCH] Re: make install problems (libjava) with CVS 3.0.x branch
- From: Christian Iseli <chris at ludwig-alpha dot unil dot ch>
- Date: Tue, 31 Jul 2001 17:06:49 +0200
- cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
Hi,
aoliva@redhat.com said:
> One solution is to explicitly pass the tag name to libtool, so that it
> doesn't try to infer the tag name from the command line, which is
> deemed to fail in this set-up. A patch that adds the tag would be
> appreciated.
Here is a patch I just tried. It bootstraps, installs, and passes make check
for me...
Cheers,
Christian
--- gcc/libjava/Makefile.in.chris Tue Jul 31 13:26:47 2001
+++ gcc/libjava/Makefile.in Tue Jul 31 13:27:17 2001
@@ -164,10 +164,10 @@ bin_SCRIPTS = addr2name.awk
GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8
GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
-GCJLINK = $(LIBTOOL) --mode=link $(GCJ) -L$(here) $(JC1FLAGS) \
+GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) \
$(ICONV_LDFLAGS) $(LDFLAGS) -o $@
-LIBLINK = $(LIBTOOL) --mode=link $(CC) -L$(here) $(JC1FLAGS) \
+LIBLINK = $(LIBTOOL) --tag=CC --mode=link $(CC) -L$(here) $(JC1FLAGS) \
$(ICONV_LDFLAGS) $(LDFLAGS) -o $@