[Mono-list] HOWTO Install Mono-0.20 under OS X 10.2

Urs Muff umuff@quark.com
Wed, 26 Feb 2003 08:00:36 -0700


On a vanilla fink installation, mono does not compile, since it only has a
dependency to glib2-shlib, but need glib2 [easy fix: 'fink install glib'].

One problem: if I try to compile HelloWorld.cs using mcs, it just hangs [CPU
to max for more than 10 minutes and no response].  Then I compiled
HelloWorld on my cygwin 0.20 installation, copied the HelloWorld.exe [that
works on cygwin using mono] to my Mac.  I tried to start it using mint
HellowWorld.exe, but the same thing: it just hangs [CPU to max and no output
other and the WARNING **: Using non-atomic functions!]

- URS C. MUFF

> -----Original Message-----
> From: Dick Porter [mailto:dick@ximian.com]
> Sent: Wednesday, February 26, 2003 5:37 AM
> To: mono-list@lists.ximian.com
> Subject: Re: [Mono-list] HOWTO Install Mono-0.20 under OS X 10.2
> 
> On Tue, 2003-02-25 at 17:24, Gerry Shaw wrote:
> > * When running any C# program (ie, mcs) I get the following warning
> > message:
> >
> > [alpine:~/Projects] gerry% mint HelloWorld.exe
> >
> > ** (HelloWorld.exe:16643): WARNING **: Using non-atomic functions!
> > Hello, World!
> >
> > * fix for the non-atomic functions.  I think it's something to do with
> > the POSIX threads under OSX but could be totally off base)
> 
> There are some atomic compare-and-swap functions, but those need
> platform-specific assembly.  The warning is telling you that there is no
> support there for ppc (until someone writes it) so the functions are
> being emulated in a non-atomic fashion.
> 
> - Dick
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list