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]

Tiny crosstool.sh grip


People,

crosstools.sh pretty much assumes you have all your
components under the current working directory, yet it lets
you think you can have $LINUX_DIR anywhere you want. I was
rewarded with a bunch of new directories in unexpected
places :-)

Fixing is trivial:

--- crosstool.sh.old    Fri Oct  3 12:16:06 2003
+++ crosstool.sh        Wed Oct 15 10:52:06 2003
@@ -105,7 +105,7 @@
 cp -r include/asm-${ARCH} ${PREFIX}/${TARGET}/include/asm
 cp -r include/asm-generic ${PREFIX}/${TARGET}/include/asm-generic
 
-cd ..
+cd -
 
 #---------------------------------------------------------
 echo Build binutils


Cheers,
Y.


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