Mercurial > hg > aboriginal
comparison cross-compiler.sh @ 487:1828f3fe831e
Continuing attempt to make gcc build like a normal program.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 16 Nov 2008 23:22:52 -0600 |
parents | b0438691e9e1 |
children | e98ed40c55ef |
comparison
equal
deleted
inserted
replaced
486:560f7b703d90 | 487:1828f3fe831e |
---|---|
37 --prefix="${CROSS}" --host=${CROSS_HOST} --target=${CROSS_TARGET} \ | 37 --prefix="${CROSS}" --host=${CROSS_HOST} --target=${CROSS_TARGET} \ |
38 --enable-languages=c,c++ --enable-long-long --enable-c99 \ | 38 --enable-languages=c,c++ --enable-long-long --enable-c99 \ |
39 --disable-shared --disable-threads --disable-nls --disable-multilib \ | 39 --disable-shared --disable-threads --disable-nls --disable-multilib \ |
40 --enable-__cxa_atexit --disable-libstdcxx-pch --enable-sjlj-exceptions \ | 40 --enable-__cxa_atexit --disable-libstdcxx-pch --enable-sjlj-exceptions \ |
41 --program-prefix="${ARCH}-" && | 41 --program-prefix="${ARCH}-" && |
42 | |
43 # Try to convince gcc build process not to rebuild itself with itself. | |
44 mkdir -p gcc && | |
45 ln -s `which gcc` gcc/xgcc && | |
46 | |
42 make -j $CPUS all-gcc LDFLAGS="$STATIC_FLAGS" && | 47 make -j $CPUS all-gcc LDFLAGS="$STATIC_FLAGS" && |
43 make -j $CPUS install-gcc && | 48 make -j $CPUS install-gcc && |
44 cd .. | 49 cd .. |
45 | 50 |
46 cleanup gcc-core build-gcc | 51 cleanup gcc-core build-gcc |