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: Cygwin & i386-target


Problem solved.

Got a tip from cross-gcc mailing-list:

Mount also the sourec-tree with the binary (-b) option.
Compiles fine now. I'll try to compile the eCos sources later today.

/arne



-----Original Message-----
From: Rosimildo daSilva [mailto:rosimildo@hotmail.com]
Sent: 12. mars 2001 20:23
To: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Cygwin & i386-target


>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



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