This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Newbee question: starterware makefile LD options.

I am trying to understand the makefiles and have a question.

On the continuation line for the linker $(LD) the following appears twice:

$(APP_LIB) -lc -lgcc

like this

$(APP_LIB) -lc -lgcc $(APP_LIB) -lc -lgcc

This appears in all the makefiles I checked. What is the reason to have this twice?

Thanks,

Graham