Commit cfe19537 authored by Ralf Stemmer's avatar Ralf Stemmer

--with-newlib for 2nd state Cortex-A9 compiler build

parent 2f4ea897
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# Version: 0.2.0 - Alpha # Version: 0.2.0 - Alpha
# #
# Changelog: # Changelog:
# 0.2.2 - 21.03.19: --with-newlib added to Cortex-A9 2nd stage GCC compilation flags
# 0.2.1 - 21.03.19: Exit if user is root # 0.2.1 - 21.03.19: Exit if user is root
# 0.2.0 - 07.03.19: Build ARM Cortex-A9 Cross Compiler # 0.2.0 - 07.03.19: Build ARM Cortex-A9 Cross Compiler
# 0.1.0 - 06.03.19: Build MicroBlaze Cross Compiler # 0.1.0 - 06.03.19: Build MicroBlaze Cross Compiler
...@@ -298,8 +299,7 @@ function BuildGCCStage2 { ...@@ -298,8 +299,7 @@ function BuildGCCStage2 {
PREFIX=$A9XCINSTALLPATH PREFIX=$A9XCINSTALLPATH
PPREFIX="arm-none-eabi-" PPREFIX="arm-none-eabi-"
TARGET="arm-none-eabi" TARGET="arm-none-eabi"
FLAGS="--without-headers --enable-boostrap --enable-languages=c --disable-threads --enable-__cxa_atexit --disable-libmudflap --with-gnu-ld --with-gnu-as --disable-libssp --disable-libgomp --disable-nls --disable-shared --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard" FLAGS="--enable-languages=c,c++ --without-headers --disable-multilib --with-float=soft --disable-sjlj-exceptions --disable-nls --disable-libmudflap --disable-libssp --enable-long-longx --enable-libgomp --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-newlib"
FLAGS="--enable-languages=c,c++ --without-headers --disable-multilib --with-float=soft --disable-sjlj-exceptions --disable-nls --disable-libmudflap --disable-libssp --enable-long-longx --enable-libgomp --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard"
else else
echo -e "\e[1;31m✘\e[1;30m (Invalid Target \"$TARGETID\". Valid: \"MicroBlaze\", \"Cortex-A9\")\e[0m" echo -e "\e[1;31m✘\e[1;30m (Invalid Target \"$TARGETID\". Valid: \"MicroBlaze\", \"Cortex-A9\")\e[0m"
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment