Difference between revisions of "Cross-compiler"

From Pandora Wiki
Jump to: navigation, search
(Added link to Cpastjuste's script to get a build env. going.)
m (Updated links, various minor edits.)
Line 1: Line 1:
''I'm still sorting this out myself, I'm going to give a short tutorial about compiling something from the Windows command line, the rest will be explained when the Pandora is released''
+
To compile your applications to the ARM architecture you're going to need a cross-compiler.
 
 
To compile your applications to the ARM architecture you're going to need a cross-compiler. Cpasjuste on the forums has made a nice script to get a build environment & libraries installed on Ubuntu/Debian systems. Check it: http://www.gp32x.com/board/index.php?/topic/52343-pandora-sdk-installer/page__view__findpost__p__823883
 
  
 +
== 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].
  
 +
== 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.
 
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, http://www.codesourcery.com/sgpp/lite/arm/releases/2007q3
+
Head up onto [http://www.codesourcery.com/sgpp/lite/arm/portal/subscription3057 here]. The recommended release at time of writing is [http://www.codesourcery.com/sgpp/lite/arm/portal/release1039 2009q3].
 
 
You want the  "ARM GNU/Linux" option, then choose whichever operating system you're running bellow.
 
  
 +
Installers are available for Linux and Windows. Alternatively, download and unpack the tarball, then add the bin directory to your path.
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 09:51, 1 June 2010

To compile your applications to the ARM architecture you're going to need 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.

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.