This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

building winsup (cross)



Assuming a resource compiler for cross building of res files
is in the subdirectory cdk/winsup I'm trying to build

--target=i386-cygwin32

and compiling it on the cross build machine yields:

gcc -c -g -O2 -I./msinclude -I./include -I. -I./../libstdc++/stl -I./../libio -I../libio -I./../newlib/libc/include -nostdinc++ ../librx/rx.c
In file included from ../librx/rx.c:41:
../newlib/libc/include/stdio.h:144: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:145: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:146: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:174: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:219: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:220: parse error before `__gnuc_va_list'
../newlib/libc/include/stdio.h:221: parse error before `__gnuc_va_list'
../librx/rx.h: In function `rx_search':
In file included from ../librx/rx.c:111:
../librx/rx.h:3635: warning: passing arg 1 of `bcopy' from incompatible pointer type
../librx/rx.h:3635: warning: passing arg 2 of `bcopy' from incompatible pointer type
../librx/rx.h:3637: warning: passing arg 1 of `bcopy' from incompatible pointer type
../librx/rx.h:3637: warning: passing arg 2 of `bcopy' from incompatible pointer type
^Cgmake: *** [../librx/rx.o] Interrupt

Anyone knowing what the problem is here?

../newlib/libc/include/stdio.h has:
#ifdef __GNUC__
#define __VALIST __gnuc_va_list
#else
#define __VALIST char* 
#endif
  
-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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