This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Re: make install problems (libjava) with CVS 3.0.x branch


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 $@
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]