[Mono-list] Building mono on cygwin (SOLVED, kinda)

Dick Porter dick@ximian.com
Sun, 31 Mar 2002 11:05:17 +0100


On Sat, Mar 30, 2002 at 02:59:20PM -0800, Piers Haken wrote:
> 
> 4) instead of hacking up the source files as tom describes, I got round
> the 'netdb.h' problems by doing what the mono-build-w32.sh script does:
> 
>    export CPPFLAGS="$CPPFLAGS -I/usr/local/include"
>    export LDFLAGS="$LDFLAGS -I/usr/local/lib"
>    export CC="gcc -mno-cygwin"	

Mono _WILL NOT BUILD_ on windows unless you set -mno-cygwin.  There are no
ifs and buts about that part.

- Dick