Makefile problems

Nic Ferrier nferrier@tapsellferrier.co.uk
Sun Feb 24 12:18:00 GMT 2002


Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> The libgcj build is currently screwed up. There seem to be several 
> separate problems. 
>> Firstly, dependencies are not working. This is partly caused by the 
> "--classpath" change, because one instance of "-fclasspath" in the 
> Makefile did not get changed. This resulted in dependencies on 
> libgcj.jar instead of the individual class files, fixed by this patch: 
>> --- Makefile.am 2002年02月22日 03:21:26 1.201 
> +++ Makefile.am 2002年02月24日 08:43:33 
> @@ -69,7 +69,7 @@ 
> ## compiles. 
> 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 
> +GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) 
> -fassume-compiled -fCLASSPATH=$(here) $(JC1FLAGS) -MD -MT $@ -MF 
> $(@:.lo=.d) -c 
> GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) 
> $(LDFLAGS) -o $@ 
> LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -L$(here) $(JC1FLAGS) 
> $(LDFLAGS) -o $@ 
>>
I'm sorry about that. It seems to the fault of my patch.
I did do a full test (configure, build and install) of the patch on a
fresh check out (with the diff applied). I'm not sure why that didn't
catch the problem.
Nic


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /