Tom Philpot
Wed, 23 Sep 2009 16:32:20 -0700
We were able to get Mono SVN building on Snow Leopard with the following CFLAGS:
CFLAGS="-m32 -Dmacosx -D_XOPEN_SOURCE" On 9/8/09 5:22 PM, "Geoff Norton" <gnor...@novell.com> wrote: > I have some experimental patches for amd64-darwin-mono, but not ready > yet. For now you should set the CFLAGS="-m32" > > -g > > On 8-Sep-09, at 8:14 PM, Tom Philpot wrote: > >> The primary reason seems to be that the default version of gcc on Snow >> Leopard, 4.2.1, no longer defines __i386__. gcc 4.2.1 defines >> __x86_64__. >> >> I started down the path of modifying some of the #defines to correctly >> target DARWIN and use __x86_64__, but I ran into trouble building >> aot-runtime.c because mini.h wanted to use the -x86 sources not the >> amd64 >> sources. >> >> Has anyone else tried to build Mono from SVN on Snow Leopard? >> >> Thanks, >> Tom >> >> >> >> >> _______________________________________________ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list