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.

CCS5.2 CG_TOOL_ROOT uneditable

In order for every team member in our group to work with the same tools (BIOS,XDC,PSPDRIVERS, COMPILER)

We referenced them by overriding variables (C/C++ Build - Build Variables) such as CG_TOOL_ROOT and BIOS_CG_ROOT

with values like ${TI_ROOT}/compiler/C6000 Code Generation Tools 7.0.4 and ${TI_ROOT}/bios_5_41_02_14 respectively

Where TI_ROOT is defined by macros.ini and points to the tools directory relatively to the project directory.

 

We are trying to migrated from CCS 5.0.1 to CCS 5.2, but things seem to have changed a bit.

I still have those build variables defined, but CG_TOOL_ROOT seems to be getting its value from Linked Resources, where it is uneditable.

A warning is issued when I open the eclipse saying: This project was created using a version of compiler that is not currently installed: 7.0.3 [C6000]. Another version of the compiler will be used during build: 7.3.4. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties. GU_Dsp  properties TI Problem Marker

The end result of all this, is that I can't compile the project - there are some errors that the subtitue compiler can't handle, but even if it was compilling I need to make sure I use the same compiler as i had before.

What can I do ?

 

 

 

  • You should be able to edit the CG_TOOL_ROOT variable from project Properties->Build->Variables tab. I just checked in my CCS 5.2 and it is editable.

    You can also manually set the compiler version to use the older 7.0.3 version by going into Projec Properties->General->Advanced Settings, click on More next to Compiler version, then 'Select new build-tool from file-system" and browse to the location where your v7.0.3 is installed. The project should then use that version for the build.

     

  • I must have not explained my self well, I'll try again.

    The problem is not editing Build->Variables tab, the problem is it doesn't seem to affect anything!

    The entire line is marked in red and it seems to take the definition from the linke resources, where I can't edit it at all.

    Manualy setting the compiler is not what i'm after - since I cannot make it relative to the project - only absolute path.

    Please, read carefully my first post, to understand what my problem is.

     

  • Amiram - Where exactly are you using this variable? In the Command field of the build options?

    Thanks

    ki

  • You are right,

    In CCS5.2 I can't find any reference to that variable,

    the command line (both for linker and compiler) shows: "${CG_TOOL_CL}"

    where it used to be (in ccs 5.0.1) : "${C6000_CG_ROOT}/bin/cl6x"

    And this new CG_TOOL_CL did not take a relative path when I ported the project.

    I'll make it relative too.

  • Amiram Frish said:
    the command line (both for linker and compiler) shows: "${CG_TOOL_CL}"

    yes that is the right one to use.