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.

cl55 undocumented switches

I notice when compiling the C runtime support library that the rtssrc makefile calls the compiler with the following switches that are not documented:

-o -oe --ti_lib --building_runtime

So far as --ti_lib and --building_runtime are concerned I don't think I care, but what does -o -oe do? It certainly does not create an object file with the name '-oe'!

I am using cl55 version 4.4.1

  • The option -o is equivalent to --opt_level=2.  It requests optimization at level 2.

    I should not give a full explanation of -oe, because it is related to compiler functionality that is not ready for general use.  It is a forerunner to what finally became documented as link time optimization.  The TI ARM compiler does support link time optimization, and you can read about it in the ARM compiler manual.  I don't know whether link time optimization will be added to the C5500 compiler.

    Thanks and regards,

    -George