Felix, Unless they have fixed https://bugzilla.xamarin.com/show_bug.cgi?id=33081 since 4.2, you will need to comment out https://github.com/mono/mono/blob/master/mono/mini/main.c#L51 in order to build.
From: <[email protected]<mailto:[email protected]>> on behalf of Alexander Köplinger <[email protected]<mailto:[email protected]>> Date: Wednesday, March 30, 2016 at 6:05 AM To: Felix Rubio <[email protected]<mailto:[email protected]>> Cc: "Mono-Devel (E-mail)" <[email protected]<mailto:[email protected]>> Subject: Re: [Mono-dev] build mono with dynamic sgen library You should be able to do that by passing --with-static_mono=no to autogen.sh/configure<http://autogen.sh/configure>: http://www.mono-project.com/docs/compiling-mono/unsupported-advanced-compile-options/#static-vs-dynamic-mono -- Alex 2016-03-30 14:31 GMT+02:00 Felix Rubio <[email protected]<mailto:[email protected]>>: Hi all, for a little experiment, I am trying to build the library libmonosgen as a .so, and to get mono to get linked to it instead of libmonosgen.a. The reason is that I want to intercept some of the calls to get some PAPI counters, measurements, etc., and to switch on/off this instrumentation library on a per execution basis. After spending 2 hours trying to do it, I have miserably failed (I have not worked with autotools before). Does anybody have an idea on how to achieve this? Thank you very much, Felix -- Felix Rubio "Don't believe what you're told. Double check." _______________________________________________ Mono-devel-list mailing list [email protected]<mailto:[email protected]> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
