Cross-compiler
From Pandora Wiki
Setting up a cross compiler
What you need: - Patience
To compile your applications to the ARM architecture you're going to need a cross-compiler. Luckily, 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
You want the "ARM GNU/Linux" option, then choose whichever operating system you're running bellow.