Cygwin -> Linux crosscompiler, How to use it?

Morten Eriksen mortene@sim.no
Wed Aug 18 07:33:00 GMT 1999


On Wed, 18 Aug 1999, Øystein O Johansen wrote:

> Question 2:
> This is more a BASH question. How can I remove the .exe extention in a easy
> way? Have anyone made a simple script for this?

>From the bash command line:

for i in *.exe; do HEPP=`echo $i | sed 's/\.exe$//'`; mv $i $HEPP; done

(..if you have sed installed.)

Regards,
Morten Eriksen


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



More information about the crossgcc mailing list