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.

Linker order deleted after build

Hi, 

I migrate my code from ccs3.3 to 5.1. 

My code requires linker order I set in the project properties. 

Something strange happens I don't understand. The linker order is deleted regularly. 

Is there any reason and how I can solve it? 

Best regards,

Keli

  • Adjeiinfo said:
    The linker order is deleted regularly. 

    What exactly do you mean? Can you elaborate with an example?

    Do you find that the link order is deleted during the migration process? Or do you set it in CCS5.1 after migration and then you find it getting deleted? Can you show a screenshot with the link order you specified and what is actually used in the CCS build console?

    If it happens just once during migration, I would suggest re-setting in CCS5.1 after the migration. However, if you find that the setting disappears from CCS 5.1 after being set, then please provide an example project and again specific steps on when this is observed.

  • Thank you for your reply.

    I set the ccs5.1 after the migration.

    As a normal eclipse editor I add from the project properties. 

    Another deletion I did not talk about is the project dependency. My observation was to set these properties 

    in different windows. I mean opening the project properties two times otherwise they are never saved. I follow

    this instinct but after few builds, both are cleared. 

    I cannot provide the code for IP reason. 

    A colleague of mine in the same team is having the same problem.

    I would appreciate your help. 


    Keli

  • Unfortunately this is going to be difficult to look into without a reproducible test case.

    Are you setting the Link Order and Project Dependencies under Project Properties->CCS Build? Also, have you tried cleaning the project before rebuilding?

    Do you change the build configuration of the project when you see these settings being cleared, or are you always building the same configuration? There is one known issue in CCS 5.1 where the Dependency settings get lost when changing build configruations. The bug # is SDSCM00043350 and you can view it at the SDOWP link in my signatture. This issue is fixed in CCS 5.2 so it might be worth giving that version a try as well.

    If these suggestions do not help, we would need a test case that we can use to reproduce the behavior, even if it is a simple cutdown example.

  • AartiG, 

    Thank you very much. I installed the V5.2 and as stated in the release notes, the problem is solved!

    I think this can be written clearly on the Wiki as warning because it so subtle so that people should migrate to V5.2 as soon as possible. 

    Once again thank you 

    Best regards,

    Keli