harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: [jchevm] Porting JCHEVM to OSX/PPC
Date Tue, 22 Nov 2005 20:51:59 GMT
David Tanzer wrote:
> First of all the problem with the missing "elf.h". Simply copying it
> from a Linux system doesn't do the job (elf.h has other dependencies, 
> and I didn't want to copy too much headers). Can I remove all the ELF
> specific stuff? I started doing so, it looks like a lot of work but
> AFAICS the ELF stuff isn't used anyway in the harmony edition.

You can remove any ELF related stuff, it's not used.
When time permits I'll work on stripping more stuff out.

> and added the appropriate headers (see next paragraph). Is there a 
> powerpc-port of the original JCVM and could we use it for harmony?

No, x86 is the only port so far.

> In the directory libjc/arch/ppc i added ppc_definitions.h, 
> ppc_structures.h and ppc_libjc.h. I simply copied the files from the 
> i386 directory and used the FreeBSD - Specific stuff where there were OS
> differences. This doesn't work for "ppc_libjc.h". Here the structure
> mcontext_t is not defined. Where does that come from on i386?

mcontext_t should be defined by #include <ucontext.h>.


Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

View raw message