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

virgile.bello at free.fr virgile.bello at free.fr
Tue Apr 3 06:24:28 EDT 2007


Quoting Paolo Molaro <lupus at ximian.com>:

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

It would really be nice !
Don't hesitate to let me know as soon as those two points are done and I'll give
it a try.

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

Yep, anyway I think code is more or less done, it would just require some time
to reactivate it. ReactOS project could be of some help here as they did the
same thing (they had a binutils patch for ppc-pe).





More information about the Mono-devel-list mailing list