This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Makefile problems
- From: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: java at gcc dot gnu dot org
- Date: 24 Feb 2002 19:18:24 +0000
- Subject: Re: Makefile problems
- References: <3C78B3B6.5000303@waitaki.otago.ac.nz>
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