SLAU646F September 2015 – June 2020
Follow these instructions to build the toolchain for Windows hosts:
README-build.sh
script deletes the "build" and "install" directories before starting the toolchain build.) > apt-get install mingw-w64
> yum install epel-release
> yum install mingw64-gcc.x86_64 mingw64-gcc-c++.x86_64
README-build.sh
. For 64-bit Windows this is usually "x86_64-w64-mingw32" and for 32-bit Windows it is "i686-w64-mingw32". For example:
> configure_args_common='--target=msp430-elf --enable-languages=c,c++ --disable-nls
--host=x86_64-w64-mingw32'
You can confirm that a cross-compiler is available for the target host by running
${HOST}-gcc --version
. For example:
> x86_64-w64-mingw32-gcc --version
README-build.sh
.