This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


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

Re: Enable libgcj for Linux targets


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 ]



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