[Mono-list] Building mono on cygwin (SOLVED, kinda)
Piers Haken
piersh@friskit.com
Sun, 31 Mar 2002 20:11:08 -0800
Yeah, the reason I did this was to get the configure script to also use
the -mno-cygwin flag when it builds its tests, thus disabling the
HAVE_NETDH_H config.h definition (the -mno-cygwin flag disables the
inclusion of the <netdb.h> header). Tom had built his version by
removing this include from the source file, I believe the correct way is
to get the configure script to generate the correct flags initially. The
mono-build-w32.sh script does all this correctly, but it also checks out
the sources, rebuilds the makefiles, etc... which is a bit of pain if
you're going to run it more than once.
Piers.
-----Original Message-----
From: Dick Porter [mailto:dick@ximian.com]
Sent: Sunday, March 31, 2002 2:05 AM
To: Mono List
Subject: Re: [Mono-list] Building mono on cygwin (SOLVED, kinda)
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
_______________________________________________
Mono-list maillist - Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list