arm linker for stm32

Asked by lesieur

with Coocox 1.6.2 and GCC ARM 4.7 ( last update ):

I had this message :

[cc] arm-none-eabi-gcc: error: unrecognized command line option '-Wl'

I don't know why ?

thank for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

The option '-Wl' is used to pass options to linker, for example the command line "arm-none-eabi-gcc -Wl,-Map=test.map ..." will pass linker option "-Map=test.map" to gnu linker at link stage. For your issue, it looks like the project doesn't use this option in a proper way. Can you please share how you create your project in CooCox, so that we can reproduce the issue and find the cause?

Revision history for this message
Joey Ye (jinyun-ye) said :
#2

It is an IDE problem rather than compiler. This should fix it:
http://www.coocox.org/forum/topic.php?id=2593

Can you help with this problem?

Provide an answer of your own, or ask lesieur for more information if necessary.

To post a message you must log in.