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.

CCSTUDIO: CCS 10.4 is not allowing a compile options file to be specified

Part Number: CCSTUDIO

I am in the process of upgrading CCS from 9.3 to 10.4, and I'm struggling to get some previous build options to work correctly.

The project uses the GCC build chain, and specifically here the "Read Options from Specified File (@)" to inject specific options to the GNU compilation. However, with this version of CCS,  it appears that whatever is entered here, it cannot resolve it, and it flags a warning at the top of the window that "Cannot open command file 'xxx': No such file or directory". This previously referenced the options file via workspace relative variables, but I've now reduced this to a simple file in a specific location (ie. removed any variables in case that was generating the problem), but nothing seems to work.

Any clues on what may have changed here or anything I can try. I've run out of ideas!

Regards - Andrew

  • After some more playing, it looks like the 'problem' is simply what is reported at the top of the CCS configuration window. Whatever command file is entered here seems to generate the "No such file or directory" error message, but it doesn't impact this being provided to the subsequent make, which can successfully resolve it.

    The bottom line is that the make is all working fine, and the only problem is the spurious errors being flagged in the configuration. This should really be flagged, but it's of low importance. How/where should this be reported? Will it be CCS or the underlying Eclipse?

    Andrew

  • Andrew,

    I can reproduce the issue.

    I believe it is a CCS specific issue as I do not get the same message when I use the stock CDT way of setting the option:

    I will file a bug to track this.

    Regards,

    John