This content has been marked as final. Show 1 reply
From other post:
Using CodeSourcery Lite via TC=gcc option, causes compilation error:
"arm-none-eabi-gcc.exe: error: unrecognized command line option -falign-arrays"
make: ***[brcm/bleprox/obj-A_20732A0-flash-flash/spar_setup.o] Error 1
Ive tried both at command line and within Eclipse IDE along with other projects.
Is this a CodeSourcery Lite version issue (currently using newest version)?
This is a valid option with CodeSourcery G++ Lite version 2011.03-42. So you have two options, use this version of CodeSourcery or edit <adk>/spar/makecm3_gcc.inc and remove the -falign-arrays option from C_SPECIFIC_FLAGS. This will not affect the way the application gets built. The next version of the SDK will have a fix for this issue.