Mercurial > hg > aboriginal
changeset 632:4ab92aee351c
Gcc 4.2 needs three more environment variables set to emit a native compiler.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 15 Mar 2009 00:35:41 -0500 |
parents | 585c77c9e83f |
children | d2cc6cb79afc |
files | mini-native.sh |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mini-native.sh Wed Mar 11 17:32:55 2009 -0500 +++ b/mini-native.sh Sun Mar 15 00:35:41 2009 -0500 @@ -78,7 +78,7 @@ cp toybox "$TOOLS/bin" && ln -s toybox "$TOOLS/bin/patch" && ln -s toybox "$TOOLS/bin/oneit" && - #ln -s toybox "$TOOLS/bin/netcat" && + ln -s toybox "$TOOLS/bin/netcat" && cd .. else make install_flat PREFIX="${TOOLS}"/bin CROSS="${ARCH}-" && @@ -152,6 +152,9 @@ # are required to make it stop. CC="${ARCH}-gcc" GCC_FOR_TARGET="${ARCH}-gcc" CC_FOR_TARGET="${ARCH}-gcc" \ AR="${ARCH}-ar" AR_FOR_TARGET="${ARCH}-ar" AS="${ARCH}-as" LD="${ARCH}-ld" \ + ac_cv_path_AR_FOR_TARGET="${ARCH}-ar" \ + ac_cv_path_RANLIB_FOR_TARGET="${ARCH}-ranlib" \ + ac_cv_path_NM_FOR_TARGET="${ARCH}-nm" \ NM="${ARCH}-nm" NM_FOR_TARGET="${ARCH}-nm" CXX_FOR_TARGET="${ARCH}-g++" \ "${CURSRC}/configure" --prefix="${TOOLS}" --disable-multilib \ --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --target="${CROSS_TARGET}" \