This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

GCC under Cygwin



Hi,

I've tried to build the gcc-core-2.95.2
under the actual cygwin environment.
After configuring with

./configure --target=arm-elf
--prefix=/cross --with-newlib
--with-headers=/src/newlib-1.8.2/newlib/libc/include

and starting the make I got folowing
error:

<Compiling...Compiling...Compiling...>
gcc -DCROSS_COMPILE -DIN_GCC     -g -O2 
-DHAVE_CONFIG_H    -I. -I. -I./config -
I./../include \
-DPREFIX=\"/cross\" \
  -c `echo ./prefix.c | sed 's,^\./,,'`
In file included from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include
/windef.h:143,
                 from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include
/windows.h:96,
                 from prefix.c:70:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2207:
two or
more data types in declaration of `type
name'
make[1]: *** [prefix.o] Fehler 1
make[1]: Verlassen des Verzeichnisses
Verzeichnis »/src/gcc-2.95.2-2/gcc«
make: *** [all-gcc] Fehler 2

This must be a typical cygwin error
because of the filenames windef.h,
winnt.h, windows.h. 
Yesterday I've installed the complete
cygwin environment from
sourceware.cygnus.com. I think this
should be actual enough??? Building the
binutils for arm-elf worked without
problems.

I hope someone could help me,

Best regards,

Michael

mlschmid@iis.fhg.de

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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