changeset 737:5f5c3747f475

Use $ARCH-cc instead of $ARCH-gcc where possible. (pcc, llvm, tcc, qcc...)
author Rob Landley <rob@landley.net>
date Fri, 29 May 2009 14:12:33 -0500
parents 88c2f1225e35
children db7af4f52222
files root-filesystem.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/root-filesystem.sh	Fri May 29 14:11:39 2009 -0500
+++ b/root-filesystem.sh	Fri May 29 14:12:33 2009 -0500
@@ -96,7 +96,7 @@
 # Build and install native binutils
 
 setupfor binutils build-binutils
-CC="${FROM_ARCH}-gcc" AR="${FROM_ARCH}-ar" "${CURSRC}/configure" --prefix="${TOOLS}" \
+CC="${FROM_ARCH}-cc" AR="${FROM_ARCH}-ar" "${CURSRC}/configure" --prefix="${TOOLS}" \
   --build="${CROSS_HOST}" --host="${FROM_HOST}" --target="${CROSS_TARGET}" \
   --disable-nls --disable-shared --disable-multilib --disable-werror \
   --program-prefix="$PROGRAM_PREFIX" $BINUTILS_FLAGS &&
@@ -119,10 +119,10 @@
 # GCC has some deep assumptions about the name of the cross-compiler it should
 # be using.  These assumptions are wrong, and lots of redundant corrections
 # are required to make it stop.
-CC="${FROM_ARCH}-gcc" AR="${FROM_ARCH}-ar" AS="${FROM_ARCH}-as" \
+CC="${FROM_ARCH}-cc" AR="${FROM_ARCH}-ar" AS="${FROM_ARCH}-as" \
   LD="${FROM_ARCH}-ld" NM="${FROM_ARCH}-nm" \
   CC_FOR_TARGET="${ARCH}-cc" AR_FOR_TARGET="${ARCH}-ar" \
-  NM_FOR_TARGET="${ARCH}-nm" GCC_FOR_TARGET="${ARCH}-gcc" \
+  NM_FOR_TARGET="${ARCH}-nm" GCC_FOR_TARGET="${ARCH}-cc" \
   CXX_FOR_TARGET="${ARCH}-g++" \
   ac_cv_path_AR_FOR_TARGET="${ARCH}-ar" \
   ac_cv_path_RANLIB_FOR_TARGET="${ARCH}-ranlib" \