I've a third part source code which I wish to use on TMS-6410 DSP platform as a linked library.
Following is the CCS compiler version:
C:\CCStudio_v3.1\C6000\cgtools\bin>cl6x -version
TMS320C6x C/C++ Compiler v5.1.0
Build Number 1FCNX--RSAQQ-VCC-ZAZG_V_R_Q
I initially compiled 3d party source code using gcc (over Linux) with following version of gcc:
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
and library file size came out to be around 1.6MB and took around 5 minutes to build.
Since I have to use this library on TI_DSP platform I now used CCS compiler and I was shocked
to notice that it took around 40 minutes to compile and lib size came out to be 104MB.
Following are CC options used in both the cases:
GCC --> gcc -c -O3
CCS --> /opt/dsp/c6000/cgtools/bin/cl6x -c -O3
I'm surprised to see this huge difference in size and time. Can someone help?
Thanks with regards,
Nitin