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: ylyuan at davform dot com
- Subject: Re: [ECOS] error when building gcc for PowerPC under windowsNT
- From: Bart Veer <bartv at redhat dot com>
- Date: Wed, 8 Nov 2000 14:32:34 GMT
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <01b101c04945$caa05490$8664a8c0@yyl_nt>
- Reply-to: bartv at redhat dot com
First, please adjust your email software to post only in plain text.
Currently you are posting in both text/plain and text/html, which
is a waste of bandwidth and also very annoying to people using email
software that is not MIME aware.
>>>>> " " == yyl <ylyuan@davform.com> writes:
> I have problem when building gcc for powerpc under windows NT. I'm
> following the instructions in the RedHat homepage.
> The problem arises after I have typed:
> make -w all-gcc install-gcc LANGUAGES=3D"c c++" 2>&1 | tee make.out
> =20
> the output about error I get is:
> /src/gcc/gcc-2.95.2/gcc/reload1.c:9556: syntax error before `static'
> /src/gcc/gcc-2.95.2/gcc/reload1.c: In function `reload_combine':
> /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'
> =20
> then I executs following commands:
> tr -d '\r' < /src/gcc/gcc-2.95.2/gcc/reload1.c > foo
> mv foo /src/gcc/gcc-2.95.2/gcc/reload1.c
This is probably due to Windows carriage return/linefeed problems. See
the FAQ entry for toolchain build problems under Windows,
http://sources.redhat.com/ecos/faq.html#problems_windows
Bart Veer // eCos net maintainer