[Soc-coordination] Final report — Multiarch cross-toolchains

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Mon Aug 20 06:41:19 UTC 2012


W dniu 19.08.2012 21:42, Thibaut Girka pisze:

> I have given thought about how cross-compilers could be built 
> automatically, but I haven't found out a good way to do that yet. It
>  is impossible to build multiarch cross-toolchains as part of the 
> normal build of gcc, since src:gcc-4.7 would then require 
> libgcc1:$host and (libgcc1:$target for each $target in the targets 
> list) to be of the same version.

Also when cross build for arch X fails then whole package fails.

> Another solution would be to have another source package, responsible
> for building cross-compilers from gcc's source package. As far as I
> know, that's how it is done for ubuntu, but apt-get sourcing gcc-4.7
> from a source package feels wrong to me...

I went that way with gcc-4.[4-7]-armel-cross in Ubuntu. Easy, simple,
some packages mangling required. Same way with binutils-armel-cross. So
please take a look at them.



More information about the Soc-coordination mailing list