[Mono-dev] Building Mono from Git with MSVC

Jean-Michel.Perraud at csiro.au Jean-Michel.Perraud at csiro.au
Tue Jun 4 08:29:44 UTC 2013


It seems I was barking up the wrong tree. A week ago the following variable assignments were added to the threads.c, coming from the NaCl contributions it seems. For some reason, the MSVC++ compiler is not happy. Commenting out and then libmonoruntime.vcxproj compiles.
Any suggestions? I strongly suppose just deleting is a bad idea.

       *staddr = NULL;
       *stsize = 0;
Added at the beginning of:
mono_thread_get_stack_bounds (guint8 **staddr, size_t *stsize)
{

Cheers

From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Jean-Michel.Perraud at csiro.au
Sent: Tuesday, 4 June 2013 5:05 PM
To: greenboxal at gmail.com
Cc: mono-devel-list at lists.ximian.com
Subject: [ExternalEmail] Re: [Mono-dev] Building Mono from Git with MSVC

Hi Jonathan,

I don't think there are some tools to update the VCXproj files. These do not need changing often so a manual process is fine.

I still have trouble compiling, in fact with a most recent checkout, I cannot get a compiled mono-2.0.dll in any of the solution's combinations of configuration profiles / platform. Do you have a fork that I can look at to see your fixes?
I seem to have stubborn problems with a call to __readfsdword in threads.c.   Maybe the presence of Windows Kit 8.0 and its \Include\um\winnt.h is problematic.

I am trying to update the readme files as I go, as they are very stale. I will work on my fork https://github.com/jmp75/mono (GitHub not letting me push yet as I write and confusing me, so it may be 5 mth old when you look.). If you already working on it not need to double up however.

Regards.


From: Jonathan Lima [mailto:greenboxal at gmail.com]
Sent: Tuesday, 14 May 2013 8:27 AM
To: Perraud, Jean-Michel (CLW, Black Mountain)
Cc: rolf at xamarin.com<mailto:rolf at xamarin.com>; mono-devel-list at lists.ximian.com<mailto:mono-devel-list at lists.ximian.com>
Subject: Re: [Mono-dev] Building Mono from Git with MSVC

I probably don't have them anymore as I fixed the build errors.
There are any tools to update the MSVC projects automatically? I will prepare a pull request with the fixed projects.
Also SGen build crashes with corrupted stack, probably missing pointer math magic from GCC(saw something like that on mono doc about msvc).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130604/431be180/attachment.html>


More information about the Mono-devel-list mailing list