1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-04-26 04:17:35 +00:00

Update install_arm-none-eabi-gcc.sh

Build the toolchain with --enable-newlib-io-long-long to avoid build failing with:

   main.c:64:2: error: #error "newlib lacks support of long long type in IO functions. Please use a toolchain that was compiled with option --enable-newlib-io-long-long."
This commit is contained in:
Kolbjørn Barmen
2021-06-02 09:54:34 +02:00
committed by GitHub
parent bc9da64165
commit 596375e666

View File

@@ -90,7 +90,7 @@ cd ${GCC_VERSION}
ln -s ../${NEWLIB_VERSION}/newlib .
mkdir arm-none-eabi
cd arm-none-eabi
../configure --target=arm-none-eabi --prefix=/opt/arm-none-eabi --enable-languages=c --with-newlib
../configure --target=arm-none-eabi --prefix=/opt/arm-none-eabi --enable-languages=c --with-newlib --enable-newlib-io-long-long
make
sudo make install
cd ../../