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.

MSP430-elf-gcc cannot be found

Hi there,

I am using OSS7 under Ubuntu and trying to compile my projects. For the very beginning I want to set up the environment for compiling msp430  programs.

When I using the CMake commands below to set up environments, some errors came out.

cmake ../stack/         
-DTOOLCHAIN_DIR=../msp430-gcc-3.5.0.0/         
-DCMAKE_TOOLCHAIN_FILE=../stack/cmake/toolchains/msp430-gcc.cmake         
-DPLATFORM=wizzimote         
-DAPP_PHY_TEST=on

Here are the errors:

CMake Error: your C compiler: "msp430-elf-gcc" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "msp430-elf-g++" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

I am not sure how to deal with them, please give me some hints and instructions on this. Thanks in advance!