This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Error when building GCC for PowerPC under WindowsNT
- To: Daniel Lind <daniel dot lind at sth dot frontec dot se>
- Subject: Re: [ECOS] Error when building GCC for PowerPC under WindowsNT
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 06 Sep 2000 17:01:24 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <39B62E78.32770373@bluelabs.se>
Daniel Lind wrote:
>
> /src/gcc/gcc-2.95.2/gcc/reload1.c:9604: stray '\' in program
> /src/gcc/gcc-2.95.2/gcc/reload1.c:9604: parse error before `)'
> /src/gcc/gcc-2.95.2/gcc/reload1.c:9795: stray '\' in program
> /src/gcc/gcc-2.95.2/gcc/reload1.c:9795: parse error before `;'
> make[1]: *** [reload1.o] Error 1
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
>
> What is the problem with reload1.c? What shall I do?
It is almost certainly extraneous carriage returns. A workaround would be:
tr -d '\r' < /src/gcc/gcc-2.95.2/gcc/reload1.c > foo
mv foo /src/gcc/gcc-2.95.2/gcc/reload1.c
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault