From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 10 03:17:40 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45F1D106566C for ; Tue, 10 Jan 2012 03:17:40 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id DFEE18FC14 for ; Tue, 10 Jan 2012 03:17:39 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q0A2nvLv061572; Mon, 9 Jan 2012 18:49:57 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q0A2nu0K061571; Mon, 9 Jan 2012 18:49:56 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 9 Jan 2012 18:49:56 -0800 From: Greg Lewis To: Super Bisquit Message-ID: <20120110024956.GA61524@misty.eyesbeyond.com> References: <5222401A-788E-4635-A302-7F4D1E5305EA@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Justin Hibbits , freebsd-ppc@freebsd.org Subject: Re: GCJ on ppc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 03:17:40 -0000 On Sun, Jan 08, 2012 at 02:58:32PM -0500, Super Bisquit wrote: > That's good news. Thanks. > > On Fri, Jan 6, 2012 at 7:37 PM, Justin Hibbits wrote: > > Well, guys, I don't know if anyone's tried this before, but GCJ and > > libjava both compile on FreeBSD/ppc. I just tested this with 4.6-20111111, > > and only compiled, haven't tried actually running anything built with gcj. > > My goal in doing this was to see about getting LLVM's vmkit/J3 working on > > here, and this was the first step in doing so. All it took to do this was > > to add the line 'powerpc-*-*) ;;' at line 3144 (I can provide a patch for > > the port later, these are just simple instructions to get it to compile). > > > > Happy hacking, maybe we'll get a JVM on ppc soon. IIRC one should be able to get the openjdk7 port working on powerpc with the Zero VM at least. We've at one point had Zero working on both FreeBSD/amd64 and FreeBSD/sparc64 and it has previously worked on Leopard/ppc at some point. The big problem, as usual, is the bootstrapping. I'll be the first to admit that is probably much easier with gcj. FWIW. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org