From owner-freebsd-java@FreeBSD.ORG Fri Mar 18 16:41:03 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8B6516A4CE for ; Fri, 18 Mar 2005 16:41:03 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 607AC43D39 for ; Fri, 18 Mar 2005 16:41:03 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 6DDDE11958; Fri, 18 Mar 2005 11:41:44 -0500 (EST) Message-ID: <423B0477.2050208@chuckr.org> Date: Fri, 18 Mar 2005 16:40:23 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <423AFADA.502@chuckr.org> <20050318160507.GA72607@misty.eyesbeyond.com> <200503181716.05537.yuri@irfu.se> <20050318162130.GA73018@misty.eyesbeyond.com> In-Reply-To: <20050318162130.GA73018@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: other architectures X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 16:41:03 -0000 Greg Lewis wrote: > On Fri, Mar 18, 2005 at 05:16:05PM +0100, Yuri Khotyaintsev wrote: > >>18 mar 2005 17.05, Greg Lewis/You wrote: >> >>>On Fri, Mar 18, 2005 at 03:59:22PM +0000, Chuck Robey wrote: >>> >>>>I wanted to build java (jdk14) for the OpenOffice-2.0 port, but the >>>>jdk14 port tells me that for my architecture (I have dual amd64 Opterons >>>>here) the port is i386 only. >>>> >>>>Is this true, or merely that you haven't had time for amd64 yet, and it >>>>might possibly work? >>> >>>You can't compile a native amd64 binary of jdk14. You can install >>>an x86 version you've compiled on an x86 machine and I suspect it >>>would work. You could also try jdk15 which should build natively on >>>amd64. >> >>Copying jdk14 compiled on x86 to an amd64 machine have not worked for me. >>There are some posts on this subject on amd64 list. > > > Interesting. We regularly run an x86 jdk14 on amd64 under Linux at work. > So I don't believe there is any fundamental reason this shouldn't work. > It sounds like some sort of complication between the jdk code and the > 32 bit layer under FreeBSD. > I agree, but running an i386 compiler on an amd64 machine, well, it would be a really major pain trying ot keep all of the libraries separate. I tried it once, I will not do that one again, it's just too confusing.