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

Robert Schuster thebohemian at gmx.net
Fri May 8 07:09:58 PDT 2009


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).

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

Regards
Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090508/0557cf32/signature.asc 


More information about the distro-pkg-dev mailing list