*[http://www.codesourcery.com/gnu_toolchains/arm/releases/2005q3-2 Codesourcery for Arm version 2005q3-2] is suggested. Please look at [http://forum.nas-central.org/viewtopic.php?f=16&t=1535 Toolchain from codesourcery] for more information.

+

*[http://www.codesourcery.com/gnu_toolchains/arm/releases/2005q3-2 Codesourcery for Arm version 2005q3-2] is suggested. Please look at [http://forum.buffalo.nas-central.org/viewtopic.php?f=16&t=1535 Toolchain from codesourcery] for more information.

[http://general.nas-central.org/wiki/Setting_up_the_codesourcery_toolchain_for_X86_to_ARM9_cross_compiling Setting up the Codesourcery toolchain for X86 to ARM9 cross compiling]

====ScratchBox====

====ScratchBox====

Scratchbox is a cross-compilation toolkit designed to make embedded Linux application development easier. This sandboxed environment allows you to do a simple <code>./configure; ./make; ./make install</code> without specifying any additional <code>--host</code> or <code>--target</code> parameters when starting configure.

Scratchbox is a cross-compilation toolkit designed to make embedded Linux application development easier. This sandboxed environment allows you to do a simple <code>./configure; ./make; ./make install</code> without specifying any additional <code>--host</code> or <code>--target</code> parameters when starting configure.

Please consult the [http://www.scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html ScratchBox installation manual] for more information. Scratchbox makes use of the cross compiler mentioned above to compile and link ARM binaries for the LS Pro. Make sure to download the so called "legacy" version.

Please consult the [http://www.scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html ScratchBox installation manual] for more information. Scratchbox makes use of the cross compiler mentioned above to compile and link ARM binaries for the LS Pro. Make sure to download the so called "legacy" version.

−

−

===Native Toolchain===

−

*Yugi has managed to get a working native toolchain. It is available [http://downloads.nas-central.org/LSPro_ARM9/DevelopmentTools/NativeToolchains/arm-tools-0_16-8.tgz here]

−

*An updated native toolchain containing gcc-4.1.1 is currently being developed.

−

−

'''Todo:''' Import information from forum here.

−

Line 208:

Line 201:

<h2>Build your own toolchain</h2>

<h2>Build your own toolchain</h2>

<p>You can build your own cross-toolchain using the appropriate source code and the configuration files I have posted in the [http://downloads.nas-central.org/ downloads area]. Please see [[Build (and use) a cross-toolchain using Dan Kegel's crosstool 0.38]] for complete directions.</p>

<p>You can build your own cross-toolchain using the appropriate source code and the configuration files I have posted in the [http://downloads.nas-central.org/ downloads area]. Please see [[Build (and use) a cross-toolchain using Dan Kegel's crosstool 0.38]] for complete directions.</p>

+

+

= Links =

+

* [http://general.nas-central.org/wiki/Setting_up_the_codesourcery_toolchain_for_X86_to_ARM9_cross_compiling Setting up the codesourcery toolchain for X86 to ARM9 cross compiling]

Projects / Cross Toolchains

General Information

Compiling programs on the LinkStation (native compiling) can take a very, very long time. A much faster method is to cross-compile programs using a cross-toolchain. A cross-toolchain allows you to compile code for the LinkStation on a faster computer with a different architecture, usually an i386/i686 desktop.

Please be aware the cross-toolchains only come with the glibc library. You may need to install additional libraries and headers to be able to compile some programs. You can grab the additional libraries and headers from the OpenLink filesystem or from the LinkStationWiki [ipkg repository]. The first architecture is the build system while the second architecture is the target system.

ScratchBox

Scratchbox is a cross-compilation toolkit designed to make embedded Linux application development easier. This sandboxed environment allows you to do a simple ./configure; ./make; ./make install without specifying any additional --host or --target parameters when starting configure.
Please consult the ScratchBox installation manual for more information. Scratchbox makes use of the cross compiler mentioned above to compile and link ARM binaries for the LS Pro. Make sure to download the so called "legacy" version.