harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tanzer <stru...@guglhupf.net>
Subject Re: [jchevm] Porting JCHEVM to OSX/PPC
Date Wed, 23 Nov 2005 16:56:02 GMT
Thanks, your infos brought me a little bit further. Not etc/makedist.sh 
fails when it invokes jcjavah for the first time: the
called from libjc/class_bytes.c (line 102) fails because of EINVAL, I'll
have a look at this in the next few days. Maybe you have some hints for
me where I could start?


On Tue, 2005-11-22 at 14:51 -0600, Archie Cobbs wrote:
> 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>.
> Cheers,
> -Archie
> __________________________________________________________________________
> Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com
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
Pinky, Are You Pondering What I'm Pondering?
Well, I think so Brain but if Jimmy cracks corn and no one cares, 
why does he keep doing it?

View raw message