This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: canadian vs build==host configury (and $with_cross_host)
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Adam Megacz <megacz at cs dot berkeley dot edu>, tromey at redhat dot com
- Cc: java-patches at gcc dot gnu dot org
- Date: Sat, 20 Jan 2007 00:24:54 -0600
- Subject: Re: canadian vs build==host configury (and $with_cross_host)
- Reply-to: gnustuff at thisiscool dot com
Hi All,
> # Passing a --with-cross-host argument lets the target libraries know
> # whether they are being built with a cross-compiler or being built
> # native. However, it would be better to use other mechanisms to make the
> # sorts of decisions they want to make on this basis. Please consider
> # this option to be deprecated. FIXME.
>
>I wonder what those other mechanisms could be.
>
>Perhaps, if we always use the canonical names for decision-making in
>configure.ac, we can just:
>
>if test -z "$with_cross_host"; then
> with_cross_host=$build
>fi
>
>$with_cross_host should only be empty if the user initially did not
>pass --host to configure. So, it should default to the build machine.
My $0.02:
http://gcc.gnu.org/ml/java-patches/2006-q4/msg00319.html
http://gcc.gnu.org/ml/java-patches/2006-q4/msg00321.html
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/