Navigation

Mono:Solaris

From Mono

Mono supports Solaris on SPARC, Mono:X86 and x86-64 architectures.

Packages for Mono on Solaris/SPARC are available from our Download page.

Mono is also available as part of Nexenta (http://www.nexenta.com), the Debian-based OpenSolaris (http://www.opensolaris.org) distribution.

Solaris: Special Considerations

To build Mono on Solaris/x86-64, you should install the latest Boehm GC from the Boehm web site and then you can build Mono like this:

$ export PKG_CONFIG_PATH=/usr/lib/amd64/pkgconfig
$ export CC='gcc -m64'
$ export AS='as -64'
$ ./configure --with-gc=system [...]

Similarly, depending on the build tools used some other variables (MAKE=gmake RANLIB=granlib AR=gar STRIP=gstrip) are necessary too but those are not specific to the amd64 target.

Andreas posted some generic compilation instructions for Solaris 10/x86 here (http://lists.ximian.com/pipermail/mono-list/2007-January/034101.html)

Known bugs

  • Solaris 9 and earlier do not have the 'trunc' math library function, which causes some checked conversions to succeed on solaris, when they should fail, like this one:
 checked {
    double d = -1;
    ulong ul = (ulong)d;
  }
 

This causes the mini/exceptions.exe regression test to fail on sol 8-9.