From owner-freebsd-java@FreeBSD.ORG Tue Nov 1 04:05:22 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A62711065672 for ; Tue, 1 Nov 2011 04:05:22 +0000 (UTC) (envelope-from dms@mircat.net) Received: from mircat.net (mircat.net [81.9.105.50]) by mx1.freebsd.org (Postfix) with ESMTP id 616B58FC18 for ; Tue, 1 Nov 2011 04:05:21 +0000 (UTC) Received: from [81.9.105.53] (port=49608 helo=[192.168.0.187]) by mircat.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.74) (envelope-from ) id 1RL5bC-0003uT-QW; Tue, 01 Nov 2011 08:05:18 +0400 Message-ID: <4EAF6FFF.7090007@samersoff.net> Date: Tue, 01 Nov 2011 08:05:19 +0400 From: Dmitry Samersoff User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Ronald Klop References: <20111025145744.GA31136@misty.eyesbeyond.com> <4EA761D1.6040307@samersoff.net> In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: dms@samersoff.net Cc: freebsd-java@freebsd.org Subject: Re: Java on ARM processor? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 04:05:22 -0000 On 2011-11-01 02:53, Ronald Klop wrote: > On Wed, 26 Oct 2011 03:26:41 +0200, Dmitry Samersoff > wrote: > >> On 2011-10-25 18:57, Greg Lewis wrote: >>> As always, the biggest problem is going to be bootstrapping. Since >>> there >>> isn't an existing FreeBSD/arm binary of openjdk7 you'll need to work >>> around >>> that. There are a variety of ways you could tackle that. The most >>> common >>> is to set up an NFS mount with an i386 or amd64 machine and remotely >>> execute >>> all of the java bootstrap steps while the C/C++ compilation occurs >>> locally. >> >> I guess setup gcc cross-compilation on x86 box is much easier. >> >> -Dmitry >> > > Hi, > > I am looking into this and I am afraid I am not seeing it right. How do > I get a compiler running on amd64, but compiling for ARM? The stock > FreeBSD gcc doesn't do this and I don't see a port which would do this > except gnatdroid-armv5 which is specifically for android. > Where is a 'regular' armv5-gcc version? You have to download gcc and binutils sources and compile it manually. e.g. step-by-step guide, change target from ppc to appropriate arm one. http://cygwin.com/ml/crossgcc/2001-06/msg00039/cross-compiler-HOWTO.pdf -Dmitry -- Dmitry Samersoff dms@samersoff.net, http://devnull.samersoff.net * There will come soft rains ...