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.

CCSTUDIO: About C2000 Linker settings

Part Number: CCSTUDIO

Hi Champs,

I have a question about setting up the C2000 Linker.

By default, "libc.a" is set in the linclude library file,
"Disable automatic RTS selection" is disabled.

Default settings

Set "libc.a" to linclude library file,
What will happen if "Disable automatic RTS selection" is enabled?

setting change


Thank you very much for help.
Best regards,
Yuka

  • Please search the C28x compiler manual for the sub-chapter titled Controlling the Linking Process.

    Thanks and regards,

    -George

  • Hi,George
    Thank you for your reply.

    I read the manual, but I couldn't understand it, so I asked a question.

    Since you are configuring libc.a, does that mean that enabling "Disable automatic RTS selection" won't make any difference?

    What does "Disable automatic RTS selection" mean?

    Would you like to know an example of automatic selection.

    Best regards,
    Yuka

  • Since you are configuring libc.a, does that mean that enabling "Disable automatic RTS selection" won't make any difference?

    Yes

    What does "Disable automatic RTS selection" mean?

    The C2000 compiler toolchain is about 20 years old.  The feature where the linker automatically chooses the variant of the compiler RTS library was introduced about 10 years ago.  The --disable_auto_rts option was introduced at the same time, for anyone who wanted to keep the old behavior.  Today, it is rarely used.

    Thanks and regards,

    -George

  • Hi,George
    Thank you for your reply.

    I understand.

    Thank you for your kind support.

    Best regards,
    Yuka