Error building GCC for ARM-elf on Cygwin 1.1.6
Jonathan Larmour
jlarmour@redhat.com
Sun Apr 1 00:00:00 GMT 2001
David Korn wrote:
>
> Hi there,
>
> >> The build failed with the following error:
>
> >> _muldi3
> >> In file included from /src/gcc/gcc-2.95.
> >> include/stddef.h:1: Invalid token in exp
> >
> >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?
>
> I get this all the time too. I don't know why, since my target headers
> lives on a textmode mount, and my build directory is mounted binary; I
> guess the configure process copies them (from the directory indicated by
> --with-headers= to the $prefix/$target/sys-include directory) in binary
> mode in a way that bypasses the CRLF translation somehow.
The copying will just copy the files verbatim, without translation. So if
your headers in the source directory contain CRLFs, then being on a
textmode mount won't help when they are copied.
So as you suggest, doing CRLF->LF conversion on the headers in the source
directory would probably fix this.
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
More information about the crossgcc
mailing list