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.

CCSv5 ignoring PATH variable

Hi,

        I'm using CCSv5 limited release beta 1. I'm trying to compile the linux kernel for TI OMAP 3503, using arm-angstrom-linux-gnueabi-gcc built using openembedded, but it is completely ignoring the PATH environment variable defined explicitly within CCSv5.

The toolchain is located in /tool/overo-oe/tmp/sysroots/x86_64-linux/usr/armv7a/bin

I entered this path location in my C/C++ Build > Build Variables > PATH variable, and added /tool/overo-oe/tmp/sysroots/x86_64-linux/usr/armv7a/bin to the PATH.

I then modified the C/C++ Build > Builder Settings as follows:

Build command : make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- 

Build directory : ${workspace_loc:/android-rowboat-froyo-2.2-patchwork-kernel}

 

If I issue a build project command, I get the following error

 

**** Build of configuration Debug for project android-rowboat-froyo-2.2-patchwork-kernel ****

make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage 

make: arm-angstrom-linux-gnueabi-gcc: Command not found

  CHK     include/linux/version.h

make[1]: `include/asm-arm/mach-types.h' is up to date.

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-arm

  CC      kernel/bounds.s

/bin/sh: arm-angstrom-linux-gnueabi-gcc: command not found

make[1]: *** [kernel/bounds.s] Error 127

make: *** [prepare0] Error 2

 

Even explicitly specifying the Compiler invocation command under C/C++ Build > Discovery Options, as shown below, does not work.

/tool/overo-oe/tmp/sysroots/x86_64-linux/usr/armv7a/binarm-angstrom-linux-gnueabi-gcc

 

Elvis Dowson

  • Hi,

        I found the solution. You have to go to C/C++ Build options and select the Environment option.

    Click on the Add button and enter the following values:

    Name : PATH

    Value : /tool/overo-oe/tmp/sysroots/x86_64-linux/usr/armv7a/bin

    Click on OK.

     

    Elvis Dowson