Hi, all.
It is almost not possible to defined your own compiler to customize the build process.
The CCS (5.2.1.00018) returns the default string "${CG_TOOL_CL}" instead of your own at every possible time.
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.
Hi, all.
It is almost not possible to defined your own compiler to customize the build process.
The CCS (5.2.1.00018) returns the default string "${CG_TOOL_CL}" instead of your own at every possible time.
Sergei,
We use a macro for the name and path to the compiler shell as yours are able to change the version of the compiler used. When they do that the path to the shell changes and sometimes the shell name itself. Thus a variable is used that CCS makes sure has the correct value. If in that dialog about you click on General on the left you can change the compiler that the project configuration is set to use.
Regards,
John
Hi, John.
Thank you for your answer. I know what this macro is intended for. But me idea was: this macro is in the editable field. Then the management of this field is allowed & planned. But by the fact we found that this field is changed automatically to default value automatically and very often.
P.S. Really we using this to call very old compilers (C6000 6.0.21).
I haven't tried using the 6.0 compiler but I have been able to configure CCS to use 6.1. You should be able to point CCS to where this compiler is located and then it will show up in the list of available compilers for your project. Below is how I added the 6.1 compiler that came with an old CCS3.3 installation.
Once I did that the compiler shows up in the list when creating a new project (under advanced) and I can also change an existing project to use it via properties and then selecting General on the left within the dialog.
This is a better way to do it as the compiler options have changed between 6.x and 7.x. By telling CCS to explicitly use the 6.x compiler it will show the appropriate options.
John