This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: Enable libgcj for Linux targets
- To: Rod Stewart <stewart at lab43 dot org>
- Subject: Re: Enable libgcj for Linux targets
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Tue, 23 Jan 2001 15:06:44 +1300
- CC: gcc-patches at gcc dot gnu dot org, java-patches at sources dot redhat dot com
- References: <Pine.LNX.4.21.0101221713060.22134-100000@dystopia.lab43.org>
Rod Stewart wrote:
> On Mon, 22 Jan 2001, Bryce McKinlay wrote:
>
> > Now that the V3 ABI is supported by Java, libgcj should build and work
> > out-of-the-box on most linux platforms, at least.
> >
> > This patch removes libgcj from linux $noconfigdirs so that it will be
> > built by default when GCC is configured with
> > "--enable-languages=java,...". Hopefully this can also be done for other
> > platforms once some build portability issues are resolved.
>
> So I have to specify the above to get java to build? Well not on ARM
> GNU/Linux, it decided to try to build the java stuff. Is there an
> exclusive configure option to tell it not to build java? Something like
> --disable-language=java,...
I'm guessing that everything is enabled by default, so you should use
"--enable-languages=c++" if you only want c/c++.
> Then it failed with the following:
>
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[2]: *** [prims.lo] Error 1
Others have reported this, but I don't know would cause it. As a workaround, you can
probibly hack the Makefile and add "--tag CXX" to the LTCXXCOMPILE line.
regards
[ bryce ]