From harmony-dev-return-2651-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Tue Nov 22 20:52:51 2005 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 16170 invoked from network); 22 Nov 2005 20:52:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Nov 2005 20:52:50 -0000 Received: (qmail 82689 invoked by uid 500); 22 Nov 2005 20:52:45 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 82632 invoked by uid 500); 22 Nov 2005 20:52:44 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 82619 invoked by uid 99); 22 Nov 2005 20:52:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 12:52:44 -0800 Received-SPF: unknown (asf.osuosl.org: error in processing during lookup of archie@dellroad.org) Received: from [216.239.128.26] (HELO smtp.omnis.com) (216.239.128.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 12:54:16 -0800 Received: from [10.3.2.13] (unknown [208.63.111.51]) by smtp-relay.omnis.com (Postfix) with ESMTP id 7B14E1880C3A for ; Tue, 22 Nov 2005 12:52:01 -0800 (PST) Message-ID: <438384EF.90201@dellroad.org> Date: Tue, 22 Nov 2005 14:51:59 -0600 From: Archie Cobbs User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [jchevm] Porting JCHEVM to OSX/PPC References: <1132691903.2495.14.camel@Elrond.Rivendell> In-Reply-To: <1132691903.2495.14.camel@Elrond.Rivendell> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 . Cheers, -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com