From: Reini U. <ru...@x-...> - 2008-09-25 19:31:06
|
2008/9/25 Reini Urban <ru...@x-...>: > So it must be the linker pulling in the cygwin version for _errno(). The reason for this failure is # **HACK**: utilities must run locally UTILCC=cc in Makefile. Linking a mingw32 gllib/malloc.o with the cygwin compiled utils does not work. And symlinks on a cygwin host do work. So no need for that hack in a cygwin shell. Fixing that to UTILCC=gcc -mno-cygwin or UTILCC=$(CC) works fine. I also had to use in the cygwin shell the crosscompiler usage: ./configure --cbc build-mingw --with-mingw --build=i686-pc-mingw32 -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |