Re: Final report — Multiarch cro ss-toolchains

Marcin Juszkiewicz <[email protected]>
Newsgroups gmane.linux.debian.soc-coordination,gmane.linux.debian.devel.embedded
Organization Linaro
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.