I've build with a library but it shows below error message.
Error: L6218E : Undefined symbol
I ask for the provider of the library and they advise me to enable -Wl,--gc-sections or equivalent in the compiler.
How can I set those setting in Keil?
Please help for my question and thanks for all replies.
Keil uses the ARM compiler - not GCC.
There is documentation on how to use GCC with Keil, but I can't really see any point in doing that - why not just use one of the "normal" IDEs intended to work with GCC?
Our provider seems like using GCC, but I develope on Keil armcc.
So I wanna know is there the same setting corresponds to Keil.
Documentation for the Keil tools is here:
https://www.keil.com/support/man/
https://www2.keil.com/mdk5/docs
perhaps give some more details:
ashuashu said:Error: L6218E : Undefined symbol
The full error message would have told you exactly what symbol was undefined - so have you checked your code to see that you do have a valid definition for that symbol?