fix for crosstool self-cross

Dan Kegel dank@kegel.com
Wed Mar 24 11:16:00 GMT 2004


For what it's worth, I think this fixes the problem crosstool
had generating self-crosses on some architectures:

--- crosstool-0.28-pre11/crosstool.sh.old	2004-03-21 21:53:30.000000000 -0800
+++ crosstool-0.28-pre11/crosstool.sh	2004-03-23 18:35:37.000000000 -0800
@@ -165,7 +165,7 @@
  mkdir -p build-binutils; cd build-binutils

  if test '!' -f Makefile; then
-    ${BINUTILS_DIR}/configure --target=$TARGET --prefix=$PREFIX --disable-nls ${BINUTILS_EXTRA_CONFIG} $BINUTILS_SYSROOT_ARG
+    ${BINUTILS_DIR}/configure --target=$TARGET --host=$HOST --prefix=$PREFIX --disable-nls ${BINUTILS_EXTRA_CONFIG} $BINUTILS_SYSROOT_ARG
  fi

  make $PARALLELMFLAGS all


-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list