diff options
-rw-r--r-- | temporary-bootstrap-builder-setup-cortexa8.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/temporary-bootstrap-builder-setup-cortexa8.txt b/temporary-bootstrap-builder-setup-cortexa8.txt index 6e88467..c2e81d2 100644 --- a/temporary-bootstrap-builder-setup-cortexa8.txt +++ b/temporary-bootstrap-builder-setup-cortexa8.txt @@ -109,6 +109,10 @@ convenience; this has no effect on the target system. > export BBL_HOST=$(echo ${MACHTYPE} | \ > sed "s/$(echo ${MACHTYPE} | cut -d - -f 2)/cross/") > export BBL_TARGET=arm-none-linux-gnu + > export BBL_ABI=aapcs-linux + > export BBL_GCCTGTOPTS="--with-arch=armv7-a --with-cpu=cortex-a8 + > --with-tune=cortex-a8 --with-mode=thumb --with-fpu=neon --with-float=hard + > --with-abi=${BBL_ABI}" > EOF $ source ~/.bash_profile @@ -246,8 +250,9 @@ Configure and build a cross-compiling GCC with a static libgcc and no threads. $ cd gcc-build $ AR=ar LDFLAGS="-Wl,-rpath,${BBL}/cross-tools/lib" ../gcc-4.6.2/configure \ > --prefix=${BBL}/cross-tools --build=${BBL_HOST} --host=${BBL_HOST} \ - > --target=${BBL_TARGET} --disable-multilib --with-sysroot=${BBL} \ - > --disable-nls --without-headers --with-newlib --disable-decimal-float \ + > --target=${BBL_TARGET} ${BBL_GCCTGTOPTS} --disable-multilib \ + > --with-sysroot=${BBL} --disable-nls \ + > --without-headers --with-newlib --disable-decimal-float \ > --disable-libgomp --disable-libmudflap --disable-libssp \ > --with-mpfr=${BBL}/cross-tools --with-gmp=${BBL}/cross-tools \ > --with-mpc=${BBL}/cross-tools --without-ppl --without-cloog \ |