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]

Re: Error on cross-gcc ARM-elf


Renato Levy wrote:
> 
> So far the recomendations were many, but I think I did them. Altough since
> it haven't work, obviously I have failed somewhere.
> 
> >I can't be entirely sure since I haven't come across this before, but it
> >may be a problem with CRLFs. What happens when you type "mount" at a cygwin
> >bash prompt? Did you unpack the sources in the way the web page said?
> >
> >Jifl
> 
> I agree! I did the unpacking before using NT, maybe I should use cygwin for
> it. the mount indicates the directory was mount as binary before installing
> the patch.
> 
> >Make sure you
> >are using the directory structure outline in the html document.
> >richard
> 
> Thanks, I'm using exactly the same directory structure, with the exception
> that my Cygwin directory is on the H drive and not on C, but this should
> not make any difference after it had been mounted.

It might if the sources now have CRLFs in them. Perhaps (as suggested in a
similar way elsewhere) try the following at the top level of your source
tree:

find . -type f -exec dos2unix {} \;

where dos2unix is a shell script somewhere in your path which contains:

#!/bin/sh
for i in "$@"
do
        tr -d '\r' < $i > $i.d2u
        cp $i.d2u $i
        rm -f $i.d2u
done


Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine

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


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