summaryrefslogtreecommitdiffstats
path: root/temporary-bootstrap-builder-setup-cortexa8.txt
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-03-29 12:55:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-03-29 12:55:16 (EDT)
commit99720f54514c153fcb8a459b57a0292924e5f679 (patch)
treede0b938a7e8b71715ce2b94f23e8fa1b82209405 /temporary-bootstrap-builder-setup-cortexa8.txt
parent77a9dcfe4e9898f19e3d2e6ab6361acdd2c77a93 (diff)
Add target-specific GCC options to cortexa8 TBB.
Diffstat (limited to 'temporary-bootstrap-builder-setup-cortexa8.txt')
-rw-r--r--temporary-bootstrap-builder-setup-cortexa8.txt9
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 \