Mercurial > hg > aboriginal
changeset 445:c2215a078923
On arm, gcc has an internal compiler error building dwarf2 exceptions in mini-native. (Yes, it dies builing _itself_.) Switch to setjmp/longjmp excpetions.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 03 Nov 2008 04:31:07 -0600 |
parents | 0022aaa9124e |
children | 06a005fcdacc |
files | cross-compiler.sh mini-native.sh |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/cross-compiler.sh Mon Nov 03 01:21:57 2008 -0600 +++ b/cross-compiler.sh Mon Nov 03 04:31:07 2008 -0600 @@ -37,7 +37,7 @@ --prefix="${CROSS}" --host=${CROSS_HOST} --target=${CROSS_TARGET} \ --enable-languages=c,c++ --enable-long-long --enable-c99 \ --disable-shared --disable-threads --disable-nls --disable-multilib \ - --enable-__cxa_atexit --disable-libstdcxx-pch --disable-sjlj-exceptions \ + --enable-__cxa_atexit --disable-libstdcxx-pch --enable-sjlj-exceptions \ --program-prefix="${ARCH}-" && make -j $CPUS all-gcc LDFLAGS="$STATIC_FLAGS" && make -j $CPUS install-gcc &&
--- a/mini-native.sh Mon Nov 03 01:21:57 2008 -0600 +++ b/mini-native.sh Mon Nov 03 04:31:07 2008 -0600 @@ -157,7 +157,7 @@ --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --target="${CROSS_TARGET}" \ --enable-long-long --enable-c99 --enable-shared --enable-threads=posix \ --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ \ - --disable-libstdcxx-pch --disable-sjlj-exceptions --program-prefix="" \ + --disable-libstdcxx-pch --enable-sjlj-exceptions --program-prefix="" \ $GCC_FLAGS && make -j $CPUS configure-host && make -j $CPUS all-gcc && @@ -201,7 +201,8 @@ #setupfor uClibc++ #make defconfig && -#sed -r -i 's/(UCLIBCXX_HAS_TLS)=y/# \1 is not set/' .config && +#sed -r -i 's/(UCLIBCXX_HAS_(TLS|LONG_DOUBLE))=y/# \1 is not set/' .config && +#make oldconfig && #CROSS="$ARCH"- make #install something #cleanup uClibc++