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 building GCC for ARM-elf on Cygwin 1.1.6


Renato Levy wrote:
> 
> I have followed the instructions on
> http://sources.redhat.com/ecos/tools/win-arm-elf.html as close as I could
> and everything went fine, until I tryied to build Gcc
> 
> (I'm running WINNT)
> 
> The build failed with the following error:
> 
>   /tmp/build/gcc/gcc/xgcc -B/tmp/build/g
> f/bin/ -I/tools/H-i686-pc-cygwin/arm-elf
>    -g -O2 -I./include  -Dinhibit_libc  -
> D -Dinhibit_libc   -I. -I/src/gcc/gcc-2.
> g -I/src/gcc/gcc-2.95.2/gcc/../include -
>        /src/gcc/gcc-2.95.2/gcc/libgcc2.c
>   if [ $? -eq 0 ] ; then true; else exit
>   arm-elf-ar rc tmplibgcc2.a ${name}.o;
>   rm -f ${name}.o; \
> done
> _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?

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]