AnsweredAssumed Answered

KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

Question asked by Hengguang Yang on Aug 28, 2014
Latest reply on Sep 11, 2014 by Hengguang Yang

Target: GCC Project based on MQX(4.0.1) on K60

IDE: KDS 1.1.0; CW for MCU 10.6

MQX: 4.0.1, used libs: bsp psp mfs rtcs shell

 

A MQX 4.0 project was created and built successfully in CodeWarrior for MCU 10.6. But after I imported and converted it to a KDS project, the new project can't pass building in KDS with following errors.

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

arm-none-eabi-gcc: error: unrecognized command line option '--start-group'

make: *** [UV4MCB.elf] Error 1


I noticed that there are some contents in "Linker flags" option in CodeWarrior project settings while it's empty in converted KDS project.

In CodeWarrior:

20140829103636.jpg

 

In KDS:

20140829103753.jpg

 

But, even I manually input those options in KDS as the same with which in CodeWarrior, the building error are still the same.

I really confused. What's wrong with the KDS project?

Outcomes