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.
Hi,
I wrote some tests with the ti driverlib. Im using the GCC 9.3. What I see is, that if I use for example some function out of cs.h, all functions will be linked into my final binary, even I do not use them. Does anybody know how say the linker to remove the unused stuff?
Kind Regards
Christian
Hi Tunguskar,
As David mentioned, you should look into using --gc-sections. This page provides some more information about it.
**Attention** This is a public forum