RFC: add --enable-experimental-openjdk-cross-compilation option

Andrew John Hughes gnu_andrew at member.fsf.org
Fri May 8 07:27:41 PDT 2009


2009/5/8 Robert Schuster <thebohemian at gmx.net>:
> Hi Andrew,
>
> Andrew John Hughes schrieb:
>> 2009/5/8 Robert Schuster <thebohemian at gmx.net>:
>>> Hi,
>>> here is an updated version of the patch that adds the
>>> --enable-experimental-openjdk-cross-compilation option. The name is
>>> chosen deliberately because this feature is not complete yet and needs
>>> more patches. Furthermore allowing cross-compilation will consist of
>>> more than just disabling the sanity checks.
>>>
>>> 2009-05-08  Robert Schuster  <robertschuster at fsfe.org>
>>>
>>>    * Makefile.am: Introduce CROSS_COMPILATION variable to icedtea-ecj
>>>    and icedtea build.
>>>    * configure.ac: New --enable-experimental-openjdk-cross-compilation
>>>    option.
>>>    * patches/icedtea-disable-cc-incompatible-sanity-checks.patch: New patch
>>>    file (SCA is in place for Robert Schuster).
>>>
>>> Regards
>>> Robert
>>>
>>
>> I'd still prefer that the option's name more clearly related to its
>> purpose, as we discussed before,
> I think the name is what it does. It enables openjdk's cross-compilation
> support. At the moment this consists only of disabling the sanity checks
> but the next patch will handle calling 'uname -m' in certain places. As
> such I argue --disable-cc-incompatible-sanity-checks is not a good
> option (except you want 3 options related to cross-compilation in the end).
>

Three options that are rarely used but have a clear meaning over one mega-option
where you have to look up what it actually does is preferable IMO.
Plus, as you say below, those who are cross-compiling will get the
option turned on by default anyway.

>> and that these were enabled by
>> default where the host and build aliases differ.
> This is already done.
>
> Regards
> Robert
>
>



-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list