Bug#741234: src:gcc-4.8: [PATCH] When building cross-compilers using prebuilt libraries, no longer re-build those libraries
+++ Dima Kogan [2014-03-10 02:19 -0700]:
> Package: src:gcc-4.8
> Severity: normal
> Hi.
>
> This is the cross-build-specific half of the patches originally posted
> in
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738152
>
> The first half (filled-in missing logic) is here:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740005
>
> This set of patches sets up some cross-building-specific logic when
> building a cross-compiler with
>
> with_deps_on_target_arch_pkgs=yes
>
> The patches are very similar to those in the original set. The only
> difference is the set of languages for which a compiler is built. The
> changes in this set are:
>
> - Don't build a source package if we're building a cross compiler
>
> - Don't build libraries if we're building a cross compiler using the
> host's libraries (with_deps_on_target_arch_pkgs=yes)
>
> - Do not build a java or D cross-compiler. Do build the rest of the
> languages (C,C++,objC, objC++, go, fortran)
Doko pointed out that the java cross-compiler is needed in order to be
able to cross-build the compiler itself. So we probably should build
that by default (and document how to turn it off for bootstrapping or
local-build purposes)
I'm not sure if the same argument applies to the D compiler?
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
Reply to: