[Mono-osx] Can't compile Mono on Snow Leopard?

Tom Philpot tom.philpot at logos.com
Fri Sep 11 11:11:34 EDT 2009


I posted this to the mono-devel list a few days ago and got a reply from
Geoff Norton.
------ Original Messages ------

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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


On 9/11/09 8:08 AM, "Alex Shulgin" <alexander.shulgin at yessoftware.com>
wrote:

> Kenny Clement wrote:
>> Hi,
>> 
>> I'm using Mono in combination with Monobjc.
>> On OS X 10.5 (leopard), everything works, but when I run the app on OS X
>> 10.6 (Snow Leopard), I'm getting a few issues.
>> 
>> So far:
>> 
> [snip]
>> Issue #2:
>> Mono crashes when doing Garbage Collection. I created bug report #537764
>> for this:
>> https://bugzilla.novell.com/show_bug.cgi?id=537764
>> 
>> Still working on reproducing in a sample app or small test code.
> 
> I have similar problem with 10.6.  Could not narrow down.  Added
> commented to the bug report.
> 
> --
> Regards,
> Alex
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list