On 23 June 2014 16:36, Mark Vojta wrote: > I am using the gcc supplied by Ubuntu which I am begining to think > probably generates code only for my host machine. Any installation of GCC only supports generating code for a single target. > I am currently looking > at linaro.org for a cross-compiler. Ubuntu also provides a cross-compiler for ARM, but you need to install it separately, in addition to the host compiler.