Getting linaro toolchain binaries
Matthias Klose
doko at ubuntu.com
Wed Mar 2 18:09:38 UTC 2011
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
More information about the linaro-toolchain
mailing list