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.

Environment Variables in CCSv5

Hi

I've recently have some trouble including environment variables to a makefile project on CCSv5. I add them on Project->Properties->C/C++ Build->Environment, and yet I get the same message when I try to build:

c:\ti\c5500\cgtools\bin\cl55: not found

(just being this route part of what I added to PATH)

Does this have anything to do with this being a makefile project?

Is there a way to check at any time what's the value of the variable PATH?

Thanks in advance,

 

Gonzalo

  • Gonzalo,

    In nature makefile projects are exclusively dependent on the makefile itself, as they must be buildable from both the command line and from the GUI. Therefore, the Eclipse environment exerts absolutely minimum influence over the build procedure - it deals only with the MAKE executable (gmake.exe, make.exe, etc.) and its parameters.

    Therefore, make sure you have all the paths to the tools fully specified in the makefile and pay special attention to the directories with spaces (you can always wrap them with double quotes). I am not 100% sure the PATH environment variable works from inside the MAKE tool, as it has its own shell.

    Please check the example code at this wiki page if you are looking for an example of makefile that has fully specified tool settings and even BIOS settings.

    Hope this helps,

    Rafael