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.

Problems with --program_level_compile



Hi,

I'm trying to use the -pm option to compile my C2000 project in CCSv5.1, but I am getting the following errors:

error: option --program_level_compile was set in previous files, but not in
   "memcpy_ff.c"
error: option --program_level_compile was set in previous files, but not in
   "memory.c"
error: option --program_level_compile was set in previous files, but not in
   "_lock.c"
error: option --program_level_compile was set in previous files, but not in
   "cos.c"
error: option --program_level_compile was set in previous files, but not in
   "sin.c"
>> Compilation failure
fatal error #10192: Failed linktime optimization

Any ideas?