This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Target library disabling at toplevel
- From: Ian Lance Taylor <iant at google dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org, hp at axis dot com, hp at bitrange dot com
- Date: Tue, 22 Mar 2011 15:07:35 -0700
- Subject: Re: Target library disabling at toplevel
- References: <Pine.LNX.4.64.1103221942200.9686@digraph.polyomino.org.uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> Why do a great many targets disable libgcj by default in the toplevel
> configure.ac?
I believe that it's just a hack: libgcj doesn't build on the target, but
gcc/java does. Disabling libgcj lets the gcc configure/make complete in
a natural way.
unsupported_languages is a clearly superior approach, but it postdates
many of the cases in which libgcj is added to noconfigdirs.
Ian