FWIW, Michael's recipe for building here https://code.launchpad.net/~michaelh1/+junk/cross-build has worked well for me.
On Wed, Mar 2, 2011 at 11:09 AM, Matthias Klose <d...@ubuntu.com> wrote: > On 02.03.2011 19:02, Andrew Stubbs wrote: >> On 02/03/11 17:52, Nicolas Pitre wrote: >>> Building a cross-compiler is already a challenge in itself. Would be >>> better to build a version that can be installed anywhere like the >>> CodeSourcery releases and offer that as a tar download. >> >> Binaries that can be run anywhere are challenging. You either have to static >> link (and even then you need to be careful what syscalls you use), or you >> have >> to build them against some ancient libraries, and static link the less >> ubiquitous dependencies (such as mpfr, ppl, etc.). > > I didn't try this, so I don't know if it's feasible. > > - build packages in a PPA, say, for an "old" release, e.g. hardy, > including mpfr, ppl, and other dependencies. > - unpack a set of deb's with dpkg -x > - relocate to /usr/local, or /opt/linaro. The toolchain itself > should be relocatable > - pack a tarball. > > Again, not tried, but this way you would end up with exactly the same binaries > that you provide in a PPA. > > Matthias > > _______________________________________________ > linaro-toolchain mailing list > linaro-toolchain@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-toolchain > _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain