From 99720f54514c153fcb8a459b57a0292924e5f679 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 29 Mar 2012 12:55:16 -0400 Subject: Add target-specific GCC options to cortexa8 TBB. --- 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 \ -- cgit v0.9.1