AnsweredAssumed Answered

MQX and dead-strip unused code

Question asked by ivanpajuelo on Nov 21, 2012
Latest reply on Nov 29, 2012 by ivanpajuelo

There is any way to link full libraries into binary?

 

I already tried to disable Dead-Strip Unused Code in linker settings but there are a lot of linker errors due conditional compiling. By example in a section enclosed by MQX_USE_IPC. The curiosity is my project don't use IPC and don't matter if I define MQX_USE_IPC even in all libraries. The error is still there if I try to link my project without code stripping.

 

Any help or suggestion will be appreciated.

Outcomes