This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Error when building GCC for PowerPC under WindowsNT


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

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