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 v3.3 export to makefile and DSP/BIOS

Other Parts Discussed in Thread: MATHLIB, CCSTUDIO

I have been having difficulty getting CCS 3.3 to export to a makefile that gmake can handle.  My project uses DSP/BIOS 5.41, and a few math libraries pulled from TI (mathlib, dsplib, etc.).  My project is all C++, except for one assembly language file.

When I run "export to makefile" from the IDE, I get a warning that it cannot find a file named "CPP" and warns about spaces in the names of include paths (code generation tools).  I generate the makefile anyway.

In a text editor, I see that an additional "CPP" parameter is added to the line for the assembly file.  Removing that parameter fixes the problem for the assembly file.

I saw a post recommending that I should change the paths in the makefile to 8.3 names.  I take care of that, and it removes some error messages that make otherwise prints about bad targets.

When I try to build from the makefile, I get errors from the compiler saying it cannot find std.h, even though it is included in the DIR_3 macro.  I compared the compiler command line options in the IDE build to the makefile build.  The only difference is that the IDE build specifies -@"debug.lkf" prior to the cpp file name.  The IDE stuffs the DSP/BIOS include path into debug.lkf prior to building.  So, I added -i"D:\CCStudio_v3.3\bios_5_41_04_18\packages\ti\bios\include"  to each files line in the makefile.

Now, the compile stages all work, and the link fails.  The linker complains it cannot find bios.a67 and a few other DSP/BIOS files located in  "D:\CCStudio_v3.3\bios_5_41_04_18\packages\ti\bios\lib".  So, I add  -i"D:\CCStudio_v3.3\bios_5_41_04_18\packages\ti\bios\lib" to the linker command.  Finally, this makes.

It seems I need to do a lot of editing to get this to work.  Am I missing something or doing something wrong?