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] |
Michael, I was having the exact same problem, and I managed to get around it by editing the /usr/include/winnt.h system file (yikes!). Basically, from line 2206, change this: typedef struct _IMAGE_IMPORT_BY_NAME { WORD Hint; BYTE Name[1]; } IMAGE_IMPORT_BY_NAME, *PIMAGE_IMPORT_BY_NAME; to this: typedef struct _IMAGE_IMPORT_BY_NAME { unsigned short Hint; unsigned char Name[1]; } IMAGE_IMPORT_BY_NAME, *PIMAGE_IMPORT_BY_NAME; It's not exactly proper however... but it works. My guess is it's a weird bug in GCC, since those typedefs are used everywhere in the winnt.h file and GCC only chokes on that one. Cheers, -- Benoit Miller - fulg@iname.com "There is no spoon." -- Original message: -- To: crossgcc at sources dot redhat dot com Subject: GCC under Cygwin From: Michael Schmid <mlschmid at iis dot fhg dot de> Date: Tue, 22 Aug 2000 09:28:50 +0100 > 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: [snip] > /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] |