[Mono-dev] Mono (C#) on Solaris10/x86
Guenter Feldmann
fld at informatik.uni-bremen.de
Mon Jan 15 07:22:02 EST 2007
Hi Mono Developers
I successfully bootstraped mono-1.2.2.1 on Solaris10/x86. The msc and gmcs compilers
are running and I could even use the compiler for the Zonnon language.
(http://www.bluebottle.ethz.ch/Zonnon/)
The following has to be done:
1) Install Boehm GC 7.0alpha7. The stable versions 6.x don't work with Solaris x86!
2) configure mono
3) insert the this define into config.h:
#define GC_gcj_fast_malloc GC_gcj_malloc
4) apply patch to mono/mini/mini-exceptions.c.
diff mono/mini/mini-exceptions.c*
35,38d34
< #ifdef sun
< #include <thread.h>
< #endif
<
924,927d919
< #ifdef sun
< stack_t ss;
< int res;
< #endif
941c933,935
< #elif !defined(sun)
---
> #elif defined(sun)
> pthread_attr_getstacksize( &attr, &stsize );
> #else
946,952c940
< #ifdef sun
< res = thr_stksegment(&ss);
< g_assert (res == 0);
<
< stsize = ss.ss_size;
< tls->end_of_stack = ss.ss_sp;
< #else
---
> #ifndef sun
953a942
> #endif
958c947
<
---
>
962d950
< #endif
5) make; make install
-- Guenter
More information about the Mono-devel-list
mailing list