Hold the presses...
I fat fingered the --prefix in the configure script.
It still doesn't build, but it's out of cygwin land and squarely into the
realm of crossgcc.
Sorry for the spurious post...
John E. A.
-----Original Message-----
From: John Andrews
Sent: Friday, March 09, 2001 2:02 AM
To: '[EMAIL PROTECTED]'
Subject: arm-linux cross gcc build failure
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