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.

size of out-file strip6x and relocation template-symbols



Hello

We have to upload the .out file to our dsp TI TMS320C64 system, as the loader inside the specific embedded OS loads the out-file directly. I am using CGT 6.1.15.

Unfortunately the .out file size increases very fast as it is a very big project. (~8MB) So I am trying to decrease the size by stripping all unnecessary information out.

strip6x -p doesn't work for me because beside the symbolic information also the necessary code for relocation is stripped out.

So I only can use strip6x without further options

 

In my opinion there are a lot uf useless information in the .out file which has nothing to do with my binary code:

 

- template symbols inside .out file:

Analyzing the .out file I saw that the templates need a very big place, as the symbols are written completely.

Is there any possibility to replace symbols with an ordering number?

 

- Information about environment and compiler settings:

Indeed there are information about include paths and compilersettings inside the .out file

 

* I already found the linker option --hide=* but there is no big effect for the codesize.

* I already stripped out debug information for compiler ( symdebug:none, no -g option)

Does anyone has solutions for me?

Thank you and best regards

Quarby