Topics

cc1: error: unrecognized command line option '-m32'


Milind Deore <tomdeore@...>
 

I have a fresh clone from the latest (on 30-April-2016) and i am getting following error while building for BOARD=arduino_due


ubuntu(a)udoobuntu: ~/Projects/zephyr-project/samples/hello_world/nanokernel $ make BOARD=arduino_due
Using /home/ubuntu/Projects/zephyr-project//boards/arduino_due/arduino_due_defconfig as base
Merging /home/ubuntu/Projects/zephyr-project//kernel/configs/nano.config
Merging prj.conf
cc1: error: unrecognized command line option '-m32'
make[3]: *** [scripts/gen_idt/version.o] Error 1
make[2]: *** [scripts_basic] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/home/ubuntu/Projects/zephyr-project/samples/hello_world/nanokernel/outdir/.config] Error 2

Any help would be much appreciated! Thanks.


Milind Deore <tomdeore@...>
 

My apologies, i am setting up my development system on freescale's ARM based processor, whereas '-m32' is x86 option.