Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <2407239113CD914CBA855A47698F01B0F533@SUGAH2.triscend.com> From: John Andrews To: "'cygwin@cygwin.com'" Subject: arm-linux cross gcc build failure Date: Fri, 9 Mar 2001 02:02:07 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Hi All, I'm having trouble building an arm-linux cross compiler under cygwin. I'd post this to the cross gcc list but I'm pretty sure my difficulty is specific to the cygwin environment. Below is the tail of the make output: --begin make out-- gcc -DCROSS_COMPILE -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/src/gcc-2.95. 2/gcc -I/usr/src/gcc-2.95.2/gcc/config -I/usr/src/gcc-2.95.2/gcc/../include \ -DPREFIX=\"/usr/uClinux\" \ -c `echo /usr/src/gcc-2.95.2/gcc/prefix.c | sed 's,^\./,,'` In file included from /usr/include/w32api/windef.h:143, from /usr/include/w32api/windows.h:96, from /usr/src/gcc-2.95.2/gcc/prefix.c:69: /usr/include/w32api/winnt.h:2266: two or more data types in declaration of `type name' make: *** [prefix.o] Error 1 --end make out-- I blindly tried find . -type f -exec dos2unix \{\} \; in the include directory. I have binutils configured for arm-elf-linux, built and installed, and used the following config for gcc: /usr/src/gcc-2.95.2/configure --target=arm-elf-linux \ --prefix=/usr/uClinux \ --exec-prefix=/usr/arm-uClinux/H-i686-pc-cygwin/arm-uClinux/bin \ --with-gnu-as --with-gnu-ld --with-newlib \ -v 2>&1 | tee configure.out Any help would really be appreciated! Thanks... John E. A. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple