[RFC] add --with-build-for-cc option

Robert Schuster thebohemian at gmx.net
Mon Jun 21 05:54:06 PDT 2010


Hi all,

Am 18.06.2010 13:42, schrieb Robert Schuster:
> Hi,
> following examples for the autotools I added a --with-cc-for-build
>   
The documentation I am referencing here is actually this:
http://makelinux.com/books/autobook-1.5/autobook_270.html

Regards
Robert

> option to IcedTea6's configure.ac, Makefile.am, acinclude.m4 that allows
> specifying the compiler to use for helper programs that need to be
> compiled with the build system's compiler (rather than the one for the
> target). The patch also includes a change to the ARM assembler port's
> makefile that makes it compile 'mkbc' with the build compiler. If used
> the variable CROSS_COMPILATION to absolutely make sure that nothing
> changes for non-cross builds. The change is only possible because the
> mkbc tool does not depend on the sizes of data structures - genoffsets
> is a different beast in that regard and I will come up with a different
> solution for that later.
>
> Btw: AFAIK the patch does not interfere with the soon to be removed zero
> sources.
>   
Hm, of course this stuff has been committed already ... but I had not
read fully through the respective threads when I sent my mail. ;-)

> 2009-06-18  Robert Schuster  <robertschuster at fsfe.org>
>
>     * configure.ac: Added --with-cc-for-build option.
>     * acinclude: New macro AC_CHECK_WITH_CC_FOR_BUILD.
>     * Makefile.am: Provide CC_FOR_BUILD through icedtea-env.
>     * ports/hotspot/make/linux/makefiles/zeroshark.make: Use
>     CC_FOR_BUILD when cross-compiling.
>
> Ok, for commit?
>
> Regards
> Robert
>   


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


More information about the distro-pkg-dev mailing list