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.

Bogus '-i' linker options

Other Parts Discussed in Thread: CCSTUDIO

Hello,

 

When I link my C2000 project in CCS 3.3, the linker options (in the .lkf file) have the following include paths:

 

-i"C:/CCStudio_v3.3/C2000/xdais/lib"

-i"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib"

-i"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/rtdx/lib/c2000"

-i"C:/Program Files/Texas Instruments/C2000 Code Generation Tools 5.2.0/lib"

 

None of these appear in the linker build options that I set for the project. The last one is probably fair enough, but the project does not use BIOS so why are the other libraries included?

 

More curiously: where in CCS is the option that controls that these paths are to be included in the linker options?

 

More importantly: is the inclusion of these libraries causing my resulting executable code to be larger than needed?

 

Cheers,

 

John.

 

Edit: LH: moving to CCS forum

 

  • John,

    It is not actually including the libraries so it won't increase your code size it is just setting up search paths to find common libraries just in case you choose use them. 

    These "system" search paths are actually stored in the windows registry and then added to the end of the search path list when doing a build (they are added to the end so that you can override them).  CCSv4 does not hide any of these paths.

    Regards,

    John