Hi All,

Is there anybody still working on an OSX/PPC port of JCHEVM? I tried to 
compile it on my iBook today and looked a little bit into it, but I'll 
not be able to do the port without some help. I read through the
discussion which followed Archie Cobbs's announcement of the 
contribution [1] where Andy Oliver tried to port it, but I didn't find
all the answers there. I don't really have experience with arch-specific
stuff or porting to OSX/PPC, so if there's someone who wants to do the
port instead of me I wouldn't mind too.

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.

I saw that there is the following construct in some of the header files:

  #elif defined(__powerpc__)
  #include "powerpc/powerpc_[some-header].h
  #endif

which I extended to:

  #elif defined(__powerpc__)
  #include "powerpc/powerpc_[some-header].h
  #elif defined(__ppc__)
  #include "ppc/ppc_[some-header].h
  #endif

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

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?

Regards,
David

[1]
http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200509.mbox/[EMAIL
 PROTECTED]

-- 
David Tanzer, Haghofstr. 29, A-3352 St. Peter/Au, Austria/Europe
http://deltalabs.at -- http://dev.guglhupf.net -- http://guglhupf.net
My PGP Public Key: http://guglhupf.net/david/david.asc
--
From "Meet John Brain"
Brain: Pinky, once I take over the world, remind me to publicly snub you.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to