This is the mail archive of the
crossgcc@sources.redhat.com
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
Patch for crosstool.sh in crosstool-0.37
- From: Khem Raj <kraj at mvista dot com>
- To: crossgcc <crossgcc at sources dot redhat dot com>
- Date: Mon, 18 Jul 2005 18:21:33 -0700
- Subject: Patch for crosstool.sh in crosstool-0.37
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