[Mono-devel-list] Problem compiling mono

Rüdiger Klaehn rudi at gamemakers.de
Thu Aug 19 05:33:44 EDT 2004


Hi,

I am trying to familiarize myself with the mono runtime. I tried to 
compile it from source and install it, and it compiled just fine.

But when I added some changes to some methods in mono/mini/mini.c it did 
not make any difference. To see wether I changed the right file, I added 
exit(1) to some places that should be called during JIT compilation.

For example I added exit(1) to the first line of 
mono_method_check_inlining and recompiled. I expected that calling mono 
Program.exe with the new mono binary would lead to instant termination, 
but it runs just fine. So apparently the new binary is not used at all, 
or the mono_method_check_inlining function is not called. The latter 
option seems rather unlikely.

Here is how I compile and install it:

root at localhost:./configure --prefix=/usr
root at localhost:make clean
root at localhost:make
root at localhost:make install

After this, a new mono binary is at the right place (/usr/bin/mono) and 
a new libmono.so appears in /usr/lib. Apparently make install also does 
a ldconfig on /usr/lib, so everything should be fine.

So what is the deal?

best regards

Rüdiger



More information about the Mono-devel-list mailing list