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.

  • Resolved

Error when building MSP430 GCC toolchain on Debian Linux

Prodigy 40 points

Replies: 2

Views: 605

I'm trying to build the latest msp430 GCC cross-compiling toolchain provided by TI/Red Hat (MSP430-GCC-OPENSOURCE).

I use the following procedure to configure/make the project:

cd /usr/local/src/msp430-gcc/sources/tools
mkdir BUILD && cd BUILD
../configure --target=msp430 --prefix=/usr/local/msp430
make

Everything compiles fine up until it starts to make GDB. Then, I get this error message:

configure: error: configuration msp430-unknown-none is unsupported.
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/usr/local/src/msp430-gcc/sources/tools/BUILD'
make: *** [all] Error 2

Has anybody had success building this toolchain on Linux?

  • The correct target is not msp430 but msp430-elf.

  • In reply to Clemens Ladisch:

    Thanks, Clemens. I'm verifying this right now. I also just read that building GCC in a subdirectory of the source tree is not support, so maybe that's causing an issue, too. (source: gcc.gnu.org/.../configure.html -- "...building where objdir is a subdirectory of srcdir is unsupported. ")

    I'll check both of these an report back later today.

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.