I am using the gcc supplied by Ubuntu which I am begining to think probably generates code only for my host machine. I am currently looking at linaro.org for a cross-compiler. -- Mark Vojta mark_vojta@xxxxxxxxxxxxx On Mon, Jun 23, 2014, at 02:15 AM, Florian Weimer wrote: > On 06/21/2014 07:31 PM, Mark Vojta wrote: > > I am currently using gcc 4.6.3 on machine running Ubuntu 12.04LTS and am > > having trouble getting the option -march=armv7 to work. The compiler > > complains about the switch being invalid. Any thoughts on what might be > > wrong? > > You need to provide more information. What exactly are you doing, and > what's the precise error message? Have you built and installed a > cross-compiler? > > -- > Florian Weimer / Red Hat Product Security