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 Linker command files



Greetings,

I am using a custom linker command file before the CCS generated file to force _c_int00 to the beginning of my load module.

The method is from http://processors.wiki.ti.com/index.php/Accessing_c_int00#Using_SYS.2FBIOS

My specific code is:

SECTIONS
{
    boot : > 0x80000000
    {
      -l"C:\ti\xdctools_3_24_07_73\packages\ti\targets\arm\rtsarm\lib\boot.aea8fnv" <boot.oea8fnv> (.text)
     }
}

This does work, but I dislike having to hard code the path.

Is there a way to use a CCS variable, or an environment variable such as XDC_GG_ROOT or XDCROOT for the product specific part of the path?

Tools:

CCS 5.3.0.00090

Arm compiler tools 5.0.4

Gerry Belanger