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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]