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.

CCS: CCS Link Order is work well ? how to work?



Tool/software: Code Composer Studio

Thank you for help!

I used CCS 7 , and the Link Order function is not word , I had search the E2E and find some test to try .but is always same.

I want to know how the Link Order is work well and how to use it ? I had try to change the CCS Build->Link Order and change the CCS Build->C2000 Compiler->Directory Specifier->Object file directory.

  • tottizofa said:
    I want to know how the Link Order is work well and how to use it ?

    The "Link Order" tab ((Project Properties->Build->Link Order tab) can be used to control the order in which files get passed to the linker. You can add object files, libraries etc to the list here and control their order using the Up/Down buttons. Files higher in the list will be passed first to the linker. This is useful when you need to have precise control over the ordering of files.

    If this feature is not working for you as expected, please provide us with more details.

  •  Thank you for the help!

    I want to arrange the c files order, So I set like the picture ,but it never work in the order I set. Can I set the order of .C or .ASM files in order ?

  • The Link Order tab is used for specifying the order in which object files (.obj) and libraries (.lib) are passed to the linker. I think what you are asking for instead is how to control the order in which code and data sections from each source file are combined. If that is the case, then please see this FAQ.