Tool/software: Code Composer Studio
Hi,
Can you please explain the difference and usage of CCS variables:
under C/C++ Build option in project setting there are two tabs - Build Variables and Environment - what exactly is the difference between them (i.e. when defining a new one on which TAB should i place it,...) also under resource -> linked resources there is another place where variables can be defined ???
How can i see the full expansion of a variable - if it is defined using another one and/or when it says <ECLIPSE DYNAMIC VARIABLE> (what does this mean and how to see to what it evaluates?)
When i set variables under the Environment option , it turns out that if windows already have such an environment variable - the value i placed in CCS is appended to the windows one - which is not always desired. i tried choosing the radio-button for "Replace native environment with specified one" but after doing this it causes lots of problems -
I am building the project using external makefile (i use external builder and call gmake from the build command) and after setting the option to "replace native..." i get errors:
06:50:37 **** Incremental Build of configuration Default for project EVE ****
"gmake" TARGET_BUILD=release
process_begin: CreateProcess(make10448-1.bat, make10448-1.bat, ...) failed.
process_begin: CreateProcess(make10448-2.bat, make10448-2.bat, ...) failed.
make (e=267): The directory name is invalid.
gmake: *** [all] Error 267
when returning it to append variables option everything is OK but again when opening the project on another computer that may have a same name environment variable - the values are concatenated and this causes errors - can you please explain the error when choosing "replace .." option and how to make CCS not append variables with windows one?
another question - as mentioned i am using external builder and call gmake. gmake is not actually on the path so from CCS on the build command i give it the full path to gmake. my makefiles are calling other makefiles for within them the theses called makefile also call gmake with not path specified - how does the gmake location gets transferred to the internal makefiles (how does it finds gmake?) - is there a way i can print from within the makefile where does it takes/finds the gmake program it executes? (when i tried to call the where gmake from the makefile it says there is no such file - so it does not look like it is not on the path so how can i find out where does it finds it)
Thanks
Guy