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:
@@ -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 ../../
|
||||
|
||||
Reference in New Issue
Block a user