This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Cygwin & i386-target
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] Cygwin & i386-target
- From: "Rosimildo daSilva" <rosimildo at hotmail dot com>
- Date: Mon, 12 Mar 2001 13:23:19 -0600
>From: "Arne Knutsen" To: Subject: [ECOS] Cygwin & i386-target Date: Mon, 12
>Mar 2001 15:14:51 +0100
>
>I'm trying to build the tools for cross-compiling from Cygwin for i386
>targets.
>
>I'm using Cygwin on Win 2000 Pro Downloaded and installed the following
>sources: binutils-2.10.1, gcc-2.95.2 and insight-5.0.
>
>Building binutils works OK. When trying to make gcc, I get the following
>errors:
>
>In file included from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:48:
>include/stddef.h:1: Invalid token in expression make[1]: *** [libgcc2.a]
>Error 1 make[1]: Leaving directory `/tmp/build/gcc/gcc' make: *** [all-gcc]
>Error 2 make: Leaving directory `/tmp/build/gcc'
>
>Inspection of stddef.h doesn't show any obvious errors.
>
>Any idea what maybe wrong ?
These strange errors are most likely caused by the wrong
handling of CRLF <--> LF. You most likely needs to cleanup
the source files with some utility such as dos2unix.
This is *by far*, the most serious problem that CygWin has.
Nothing else comes close, and I am amazed that in the last
4 years they have been unable to fix it.
Rosimildo.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com