[Mono-devel-list] MSVC 6 conversion progress, diff, notes, etc

J Lothian rhalin at gmail.com
Sun Feb 13 15:34:26 EST 2005


For anyone who's interested, I've completed my initial build of Mono
in Visual Studio 6 (and tested it, and it compiles in VS.Net as well)

There are a few minor problems.  There are a good number of warnings
regarding signed/unsigned mismatches, which may be able to be ignored
for the time being.  The project compiles fine, but when I try to test
it, it crashes in

mini.c : 
static MonoObject*
mono_jit_runtime_invoke (MonoMethod *method, void *obj, void **params,
MonoObject **exc)

on the line:
return runtime_invoke ((MonoMethod *)obj, params, exc, compiled_method);

with the debug message:
"The value of ESP was not properly saved acrossed a function call.
This is usually a result of calling a function declared with one
calling convention with a function pointer declared with a different
calling convention." 

I'm posting a few files for anyone interested in looking at the work
thus far and contributing to the VS port.  Included are my conversion
notes, the diff from the 1.0.5 src, the warnings I am recieving, and
the dependancies directory I put together.

http://www.dreamfoundry.sytes.net/mono/MonoToVSNotes.txt
http://www.dreamfoundry.sytes.net/mono/monoToVS.diff
http://www.dreamfoundry.sytes.net/mono/MonoWarnings.txt
http://www.dreamfoundry.sytes.net/mono/VSDependancies.rar

I'd appreciate it if someone else could host the rar, as I have
limited bandwidth on that server, and a 2MB file is a bit much.

I'm a bit rushed this morning, so I wasn't able to triple check my
notes, there may be a few things slightly off, just check the diff if
you have questions about something I did.

I hope you all can use this somehow.   ...and I hope we can figure out
how to make it actually work ;)

Thanks for everyone's help so far, couldn't have gotton to this point
without you!



More information about the Mono-devel-list mailing list