Patch for crosstool.sh in crosstool-0.37

Khem Raj kraj@mvista.com
Tue Jul 19 01:21:00 GMT 2005


Hi

If the build failed and I restarted the build then it will fail at 
creating links and either I have delete the links or do a complete 
rebuild. To avoid that I have applied this patch where I force the links 
to be creared, to crosstools.sh and it seems to fix the problem.

--- crosstool.sh.orig   2005-07-18 18:17:19.000000000 -0700
+++ crosstool.sh        2005-07-18 18:17:45.000000000 -0700
@@ -359,7 +359,7 @@
     # instead of the location its configure script claims it searches 
(gcc_cv_as), grr
     mkdir -p $CORE_PREFIX/$TARGET/bin
     for tool in ar as ld strip; do
-       ln -s $PREFIX/bin/$TARGET-$tool $CORE_PREFIX/$TARGET/bin/$tool
+       ln -sf $PREFIX/bin/$TARGET-$tool $CORE_PREFIX/$TARGET/bin/$tool
     done
 fi

Thanks

Khem

------
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