[ECOS] Cygwin & i386-target

Arne Knutsen arkn@satcom.nera.no
Mon Mar 12 06:15:00 GMT 2001


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 ?

/arne



More information about the Ecos-discuss mailing list