[Mono-dev] Porting runtime - where to start?

virgile.bello at free.fr virgile.bello at free.fr
Mon Apr 2 21:49:10 EDT 2007

Quoting Paolo Molaro <lupus at ximian.com>:

> On 03/31/07 virgile.bello at free.fr wrote:
> > The problem of AOT is that it only generates .so (or .dll on Win32 platform
> I
> > guess). Nevertheless, XBOX executable format, .xex, has to go through their
> > special compilator. So, no other way that I know than getting C++ code to
> > compile.
> Don't they provide some tool to create an executable from assembly code?
> If that is possible you could tweak the code to use that.
> Or, if the file format is documented or easy to understand, you could
> change the binary writer AOT code to emit it directly.
> lupus

Ok, I took a look at all that.
There is a tool to convert PE executable (with PPC code) in their .xex format.
However, there were issues :
1/ AOT is working only on x86 right now, according to
2/ And even if it's ok, the more important problem is that according to the same
post, it still need JIT at some place.
3/ When working on it, I tried to produce PE file with PE PPC Big endian target
with binutils, and it was really painful, it's not really supported anymore (I
speak of PE format only of course, it's well supported in other cases).

More information about the Mono-devel-list mailing list