nah... using CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ../src/configure \ --build=i686-pc-cygwin --target=i686-pc-mingw32 --prefix=/opt/mingw
I get into this problem: gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-one.c -o pex-one.o if [ x"" != x ]; then \ gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-unix.c -o pic/pex-unix.o; \ else true; fi gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-unix.c -o pex-unix.o ../../src/libiberty/pex-unix.c: In function `pex_wait': ../../src/libiberty/pex-unix.c:223: warning: implicit declaration of function `wait' ../../src/libiberty/pex-unix.c: At top level: ../../src/libiberty/pex-unix.c:355: warning: function declaration isn't a prototype ../../src/libiberty/pex-unix.c: In function `pex_unix_exec_child': ../../src/libiberty/pex-unix.c:374: warning: implicit declaration of function `fork' ../../src/libiberty/pex-unix.c:377: warning: implicit declaration of function `sleep' ../../src/libiberty/pex-unix.c:422: warning: passing arg 2 of `execvp' from incompatible pointer type ../../src/libiberty/pex-unix.c:427: warning: passing arg 2 of `execv' from incompatible pointer type ../../src/libiberty/pex-unix.c: In function `pex_unix_wait': ../../src/libiberty/pex-unix.c:478: warning: implicit declaration of function `kill' ../../src/libiberty/pex-unix.c: In function `pex_unix_pipe': ../../src/libiberty/pex-unix.c:496: warning: implicit declaration of function `pipe' ../../src/libiberty/pex-unix.c: In function `pex_unix_fdopenw': ../../src/libiberty/pex-unix.c:512: warning: implicit declaration of function `fcntl' ../../src/libiberty/pex-unix.c:512: error: `F_SETFD' undeclared (first use in this function) ../../src/libiberty/pex-unix.c:512: error: (Each undeclared identifier is reported only once ../../src/libiberty/pex-unix.c:512: error: for each function it appears in.) ../../src/libiberty/pex-unix.c:512: error: `FD_CLOEXEC' undeclared (first use in this function) make[2]: *** [pex-unix.o] Error 1 make[2]: Leaving directory `/usr/local/src/trunk/objdir-binutils.mingw/libiberty' make[1]: *** [all-libiberty] Error 2 make[1]: Leaving directory `/usr/local/src/trunk/objdir-binutils.mingw' make: *** [all] Error 2 so... I guess I'm outta luck... if you got any more suggestions.. pls let me know... otherwise, well, this was a play at least :) -- Cheers, /ChJ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/