[Mono-devel-list] runtime build got broken under windows

Atsushi Eno atsushi at ximian.com
Sat Sep 4 05:47:42 EDT 2004


Hi Marek,

I think the latest gc.dll was from Gonzalo, but not sure if he can
build mono on windows now ;-)  Anyways, gc.dll shouldn't matter.
I had been able to build mono without specifying --with-gc option
(that is the same as with-gc=boehm on windows).

I looked around commits on runtime, but could not find any suspects.
So I think I would have done something wrong.

I had also made local fix (that was dirty than yours) for with-gc=none.
I will ask some of runtime guys.

Thanks,
Atsushi Eno

> In file appdomain.c you have to make this change
> 
> #ifdef PLATFORM_WIN32
> #if HAVE_BOEHM_GC
> thread_handle = GC_CreateThread (NULL, 0, unload_thread_main,
> &thread_data, CREATE_SUSPENDED, &tid);
> #else
> thread_handle = CreateThread (NULL, 0, unload_thread_main, &thread_data,
> CREATE_SUSPENDED, &tid);
> #endif
> #else
> thread_handle = CreateThread (NULL, 0, unload_thread_main, &thread_data,
> CREATE_SUSPENDED, &tid);
> #endif
> ResumeThread (thread_handle);
> #endif
> 
> I added the inner #if. But the same problem is also in thread.c.
> Unfortunately I don't have write access to mono to commit this change.








More information about the Mono-devel-list mailing list