[Mono-dev] Can't compile mono

2011-12-13 Thread Marlen Caemmerer
Hello, I try to compile mono on a Solaris 10 but it fails linking. I am currently using ld from Solaris. Is it possible I need some additional compiler flags? This is what I do: ~/mono-2.10.7$ ./configure --prefix=/opt/ts --bindir=/opt/ts/bin --libdir=/opt/ts/lib --mandir=/opt/ts/share/man

Re: [Mono-dev] Can't compile mono

2011-12-13 Thread Burkhard Linke
Hi, On 12/13/11 11:36, Marlen Caemmerer wrote: > Hello, > > > I try to compile mono on a Solaris 10 but it fails linking. > I am currently using ld from Solaris. Is it possible I need some additional > compiler flags? > > > This is what I do: *snipsnap* > DTrace:yes The DTr

Re: [Mono-dev] how to coerce MonoObject* holding a System.Type to MonoClass*

2011-12-13 Thread Jonathan Shore
Thanks. That works On Mon, Dec 12, 2011 at 7:01 PM, Rodrigo Kumpera wrote: > There are two ways, you can do it from managed land directly: > > Type t = ...; > return t.TypeHandle.Value; > > This will give you a MonoType* (which is easy to convert to a MonoClass*). > > The other option is pretty