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.

dsplink:用c6000的cl6x编译c文件生成的.obj和.lib文件比较大,如何减小一些呢?



小弟新手,以前用arm-linux-gcc编译一些c源文件,生成一些目标文件和一个库文件。现在想通过dsplink来编译这些源文件,于是我仿照dsplink文件夹下路径dsplink/dsp/src中的例子(如ringio msg mplist等文件夹)中的结构,主要是仿写了Makefile、SOURCE、component文件,将自己的一些.c和.h文件进行编译,也生成了一些目标文件obj和一个库文件lib,但是这个库文件是以前用arm编译的三倍多,以前库文件300多k,现在是1.3M;而且我发现生成的.obj文件也都比以前用arm编译的出来的要大些,请问各位老师,为什么会有这么大的差距呢?如何做才能尽量缩小我所需要的lib库文件呢?