cross compiler under Cygwin

Mumit Khan khan@NanoTech.Wisc.EDU
Thu Mar 15 09:39:00 GMT 2001


On Thu, 15 Mar 2001 nhat.dao@philips.com wrote:

> hello,
> 
> 1)
> i do that :
> (/gcc-2.95.2-6 )$ ./configure --target=arm-strongarm-aout
> ==> ok for my makefile.
> 
> 2)
> next, build the compiler, i do that :
> (/gcc-2.95.2-6 )$ make LANGUAGES= « c++ »
> [...]
> make[1]: Leaving directory `/gcc-2.95.2-6/etc'
> make[1]: Entering directory `/gcc-2.95.2-6/gcc'
> [...]
> gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I. -I.
> -I./config
> -I./../include \-DPREFIX=\"/usr/local\" \  -c `echo ./prefix.c | sed
> 's,^\./,,'`
> In file included from /usr/include/w32api/windef.h:143,
>                  from /usr/include/w32api/windows.h:96,
>                  from prefix.c:70:
> /usr/include/w32api/winnt.h:2266: two or more data types in declaration of
> `type name'
> make[1]: *** [prefix.o] Error 1
> make[1]: Leaving directory `/gcc-2.95.2-6/gcc'
> make: *** [all-gcc] Error 2
> 
> somebody can help me, pleaaase ?

I just answered this question a few days ago on this list, and presumably 
a mailing list search would have yielded the answer. See
http://www.delorie.com/archives/browse.cgi?p=cygwin/2001/03/10/17:10:14

Regards,
Mumit



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list