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

Paolo Molaro lupus at ximian.com
Tue Apr 3 05:11:40 EDT 2007

On 04/03/07 virgile.bello at free.fr wrote:
> 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
> http://tirania.org/blog/archive/2006/Aug-17.html

It also works on amd64. support for ppc would need to be added, but it
is not a big issue.

> 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.

Yes: we'd need a few changes to avoid jitting at all, but it is doable.

> 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).

Currently the PE format would be generated by the assembler/linker.
You'd need to write some code to be able to generate directly the PE
binary file.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list