[Mono-list] State of 64-bit support on OS X

Geoff Norton gnorton at novell.com
Thu Jan 15 10:03:26 EST 2009


On Thu, 2009-01-15 at 05:12 -0800, shjk wrote:
> Ok, thanks for the info. For clarification, I forgot to mention that I'm
> interested primarily in Intel machines.
> 
> I tried building Mono 2.0.1 from source using x86_64-apple-darwin9.0.0 and
> amd64-apple-darwin9.0.0 architectures. x86_64 build fine but produces 32-bit
> executables and an mcs which generated 32-bit binaries. amd64 added a prefix
> to all executables and mcs failed to run because mono.exe could not be
> found. I haven't tried with the 2.2 release, yet.
> 

I'm not sure where you got all this information.  Basically all you need
to do is add -m64 to your CFLAGS, and ensure all the dependencies are
built with 64-bit support as well.

Additionally, mcs doesn't generate 32 or 64-bit binaries, it generates
portable IL which can be run anywhere.

Lastly, mono.exe only exists on windows, not Darwin, so I'm not entirely
sure what you're doing.

-g




More information about the Mono-list mailing list