Re: Final report — Multiarch cr oss-toolchains
Thibaut Girka <[email protected]>
| Newsgroups | gmane.linux.debian.soc-coordination,gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <20120820075918.GB5024@debian-thib> |
On Mon, Aug 20, 2012 at 08:41:19AM +0200, Marcin Juszkiewicz wrote: > 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. Right. > > 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. I took a look at them! Although I have to admit I only remember looking at the “armel-cross-toolchain-base” branch, which boostraps the whole thing. Now, I'm looking at the “gcc-4.x-cross” branch, and it is really close to what I had in mind. I would like to avoid the duplication in the control file and override files, though... I'll think about that, but it's post-GSoC, now ;) Regards, Thibaut Girka.
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQMe5VAAoJEOY0VNOn/l3WTrwQAKIdpYAelGg6Y6mlb9rsLUMf RuzbNDiRyAVqx8HXnAQKwBtsd2QTxy5Pz3zbkAEIpNNoSQmSwLp2m7IVAprGMdmP 9kA8OSuhg+dpYwfpqZebspTgE0pKSKEBsqV13SpQmkPksYkIQka/QFkAA52QoDrT p/QVfm4NciXiu32YqvSsTehIa4fgtTeY8tlz5F/HesyApz316KSyjzEnXVGm60bG YISknk1YgU/EJn8BHXHXA0c6qThbAMAy5f+dZLDXxAWlGNkfzWUazhEyzeovff8d he93vXcmH3AeEvZHbuBSJPdzNEq5nI9osdcTfNKTWMTLPOKrn5O3Rzo1g2t+ooYc wzDa1Emo8m0XXjD24OPGgCwDzcvCIFMci8et0g5XwoRKPlutpPJv39POak16hPjN Jy3WMCykusrZN4b6KgkP8IVDzsZfIwRErYjxti/XRCI2/tZyTVbHduxLcS1vKoZ+ irl5rZzKs5KHid2Lhwg0OxgIienTedv1pI4mc+LZXLgAM9rbrKocz4xfDMB+JF5b iJJ+6C5Qqju309QmJzL+BHlMAza1vHsxOG//nRRIXnva5n3/CtWlwYmilINXrCbw 4jJkymruuIC6xHag3e0C/6T+SawT8QetJkmU6G4RPzENcL9dQlt5nBJgwCXjjp0d r4PEQopHQedC44yd80bW =Vdwl -----END PGP SIGNATURE-----