[Scratchbox-devel] Re: [Scratchbox-users] Which toolchain for ARM ?

Jussi Hakala jussi.hakala at movial.fi
Tue Jan 30 12:30:36 EET 2007


Claudio Scordino wrote:
>>> I'm not able of understanding the differences between the toolchains
>>> just from their name, and the Debian packages don't contain any useful
>>> information...
>>>
>>> The toolchains for which I need more information are the following ones:
>>>
>>> scratchbox-toolchain-arm-linux-2006q1-6_1.0.4_i386.deb
>>> scratchbox-toolchain-arm-linux-cs344-2.3_1.0.4_i386.deb
>>> scratchbox-toolchain-arm-linux-ct401-2.3_1.0.4_i386.deb
>>> scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.4_i386.deb
>>> scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.5_i386.deb
>>>
>>> Any explanation is very welcome.
>>
>> there seem to be two kinds of toolchains available,
>>
>> crosstool (ct) / codesourcery (cs)
> 
> Thank you very much. At least I know what these acronyms mean :)

As a rule of thumb, anything with a year, q and a number is a code 
sourcery toolchain.

The cs2005q3.2-glibc-arm is a repackaged legacy branch toolchain and you 
should not use it unless you know you specifically need that particular 
toolchain.

For your architecture, you'd probably want crosstool. See [1] for 
additional details. Use instructions in [2] to compile a custom foreign 
toolchain if none of the prepackaged toolchains meet your needs.

There is an article about compiling x for arm architecture available at 
[3], you might find it interesting.

The configurations used in building the foreign toolchain can be found 
in the toolchain packages under /scratchbox/compiler-name/build-config.

[1] http://kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html
[2] http://scratchbox.org/wiki/ForeignToolchains
[3] http://www.nerdnet.com/?q=node/2

Regards,

   Jussi





More information about the Scratchbox-users mailing list