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.

program mode compilation -> unresolved _main symbol

 

 Hi Group.

 My program compiles and links without incidents when using normal file to file compilation. However, if I enable program mode compilation (-pm), the linker complains that it doesn't find _main (referenced by rts2800_ml.lib). I see that some obj files created from two assembly modules in my project are being passed to the linker, however the object file corresponding to my C files is not. Is this a bug or am I missing something in my project properties?

 I am using CCSv4 with 5.2.3 cctools. (BTW, how do I update to 5.2.4?)

Thank you. Regards.