Difference between revisions of "Cross-compiler"

From Pandora Wiki
Jump to: navigation, search
(Undo revision 2829 by Rebeca123 (Talk) - spam)
(Using the SDK-Installer)
Line 3: Line 3:
 
== Using the SDK-Installer ==
 
== Using the SDK-Installer ==
 
Cpasjuste on the GP32X forums has made a nice script to get a build environment and libraries installed on Ubuntu/Debian systems. Download links and a brief explanation can be found in [http://www.gp32x.com/board/index.php?/topic/52343-pandora-sdk-installer/ this thread].
 
Cpasjuste on the GP32X forums has made a nice script to get a build environment and libraries installed on Ubuntu/Debian systems. Download links and a brief explanation can be found in [http://www.gp32x.com/board/index.php?/topic/52343-pandora-sdk-installer/ this thread].
 +
 +
Alternatively you could try the easy to set up environment described on [http://blogs.distant-earth.com/wp/?p=109 DJWillis' blog] which is suitable for 32bit Linux.
  
 
== Manual Installation ==
 
== Manual Installation ==

Revision as of 19:49, 24 August 2010

One of the ways to compile your applications to the ARM architecture is through a cross-compiler.

Using the SDK-Installer

Cpasjuste on the GP32X forums has made a nice script to get a build environment and libraries installed on Ubuntu/Debian systems. Download links and a brief explanation can be found in this thread.

Alternatively you could try the easy to set up environment described on DJWillis' blog which is suitable for 32bit Linux.

Manual Installation

If you want a bit more control, Code-Sourcery hosts a bunch of cross-compiling suites for various platforms on their site, some editions have to be paid for, but they do have "lite" editions without support that are completely free.

Head up onto here. The recommended release at time of writing is 2009q3.

Installers are available for Linux and Windows. Alternatively, download and unpack the tarball, then add the bin directory to your path.

Example: Setting up a cross compiler using Code Sourcery, and doing so inside a VM

Skeezix makes some notes in his blog about setting up CodeSourcery's prebuilt toolchain in a VM very quickly.