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.
Hi,
I am trying to migrate a 3.3 project to CCSv5 and the final build is failing. The reason for the failure is that the v3.3 project has a source files list as below:
[Source Files]
Source="..\lib\lib1.lib"
Source="..\lib\lib2.lib"
Source="..\SRC\SYSTEM\file1.c"
Source="..\SRC\SYSTEM\asm1.asm"
Source="..\SRC\SYSTEM\asm2.asm"
Source="..\SRC\SYSTEM\file2.c"
Source="..\SRC\SYSTEM\asm3.asm"
Source="..\SRC\SYSTEM\file3.c"
Source="..\SRC\SYSTEM\file4.c"
Source="..\SRC\SYSTEM\file5.c"
Source="..\SRC\SYSTEM\file6.c"
Source="..\SRC\SYSTEM\obj1.obj"
Source="cmd1.cmd"
The problem is that CCSv5 is not including the precompiled source obj1.obj in the build as I can see that its globals are being reported as unreferenced at the final link stage.
How do I include such a pre-compiled obj file in the link stages for CCSv5.
Regards
Phil
Phil,
Phil Wright said:How do I include such a pre-compiled obj file in the link stages for CCSv5.
You can manually add the .obj file to the project, and it should be automatically picked up during link step. To add the file, either copy it into your project folder or right-click on the project, select Add Files and browse and select the obj file.