[Mono-osx] mono os x what architecture type?

Geoff Norton gnorton at novell.com
Thu Apr 21 10:20:51 EDT 2011


Mono for OSX is i386 (32-bit) by default.

-g

On 2011-04-21, at 2:47 AM, jpitz31 wrote:

> 
> Attempting to call some c code from mono,  I created a shared library
> libmain.dylib
> 
> When I call the code from mono I get the error: Unhandled Exception:
> System.DllNotFoundException:
> 
> upon further investigation I traced the error to the wrong architecture
> type: 
> 
> libmain.dylib: mach-o, but wrong architecture
> 
> I checked the libmain.dylib with lipo and it is x86_64
> 
> What architecture type should I build the shared library?
> 
> I am running 10.6.7 os x on a mac mini?  What architecture is mono built
> for?
> 
> Thanks
> 
> Joe
> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/mono-os-x-what-architecture-type-tp3465238p3465238.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> 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