[Mono-dev] [PATCH] Add mixed-mode assembly support on Windows

Kornél Pál kornelpal at gmail.com
Mon Apr 21 17:59:02 EDT 2008


Thank you very much for pointing out this difference. Note that if it's 
really necessary I prefer to create a mono_runtime_init or similar callback 
supplied by mini over splitting the code because MonoFixupCorEE requires the 
address of the other functions and is used by metadata so it would be 
difficult to split the file.

But unfortunately I still get the same errors even after commenting out 
references to mini headers and functions:
> /mono/mono/mono/metadata/domain.c:1172: undefined reference to
> `_MonoFixupCorEE at 4'
> /mono/mono/mono/metadata/domain.c:1217: undefined reference to
> `_MonoFixupExe at 4'


----- Original Message ----- 
From: "Robert Jordan" <robertj at gmx.net>
To: <mono-devel-list at lists.ximian.com>
Sent: Sunday, April 20, 2008 9:43 PM
Subject: Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows

Hi Kornél,

Kornél Pál wrote:
> Now I consider the patch being complete for inclusion in Mono. But I
> still didn't manage to build it using cygwin so I need some help.

"mini" functions cannot be called from metadata/coree.c.
The VC build does not care because it's one huge compilation unit,
but the automake build consists of several compilation units (libs).

You should split coree.c in 2 parts: the _Cor*/Cor* functions
inside the "mini" tree and the rest in "metadata".

This will fix the cygwin build.


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list