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.
Tool/software: Code Composer Studio
I'm adding
1. autoinit.c
2. rts*lib
3. Generated Linker Command Files
Whenever I change a project setting, the 3 get blown away and I get linker errors. I need these to persist. Is there a workaround?
Thanks,
Will
Code Composer version 5.1.0.09000
p.s., no, I can't upgrade to a new IDE
ixworks said:Whenever I change a project setting, the 3 get blown away and I get linker errors.
I was able to track down a bug report documenting this bug in CCS 5.1.0. So yes it is a known issue in CCS 5.1 that was fixed in CCS 5.2. Is updating to 5.2 an option at all? It is close enough in version to 5.1 and wouldn't be as big a jump as moving to the latest CCSv7.
There isn't an official workaround for this issue, however you could probably create a custom solution, which in essence will bypass the CCS link time build logic and instead pick up the list of files to link and the order in which to link them from a custom linker command file. Going down that path means that you will bypass part of the CCS "managed build" process and control the ordering yourself. Note that this would be more difficult to maintain down the road as you make changes and updates to the project, hence our primary recommendation would still be to update CCS if possible.
AartiG,
Thank you. You gave me an idea; I added the autoinit.obj from my debug folder to the file search path under the C6000 Linker in Build Properties. I then selected "Search libraries in priority order", then made sure autoinit.obj came before rts64pluse_elf_eh.lib.
If you agree, please let me know and I'll mark this as answered.
I'm also having a dependencies issue where it is getting erased when the project settings change. I imagine they are the same in the SD* database. Is there a workaround for this? That is, I want to check if the four other libraries code we maintain changed before building my main application that includes these libraries.
Will
Will,
The ordering you have specified in the linker options sounds reasonable. Glad you are able to use that workaround.
ixworks said:I'm also having a dependencies issue where it is getting erased when the project settings change.
Specifically what type of project setting are you changing? Unfortunately I don't think there is a workaround for this.