[Mono-dev] build mono with dynamic sgen library

Felix Rubio felix at kngnt.org
Wed Mar 30 12:31:51 UTC 2016


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."


More information about the Mono-devel-list mailing list