Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2012 23:11:08 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Super Bisquit <superbisquit@gmail.com>
Cc:        freebsd-java@FreeBSD.org, freebsd-ppc@FreeBSD.org
Subject:   Re: Problems with compiling java programs on FreeBSD from ports
Message-ID:  <20120403061108.GA46679@misty.eyesbeyond.com>
In-Reply-To: <CA%2BWntOs%2BL6mgN2T9UY_yvNNrkvfvPo1pynfdtXhCGZ6ydRe9jQ@mail.gmail.com>
References:  <CA%2BWntOv04zZB%2B7CgfpcGaEQHiTqf58BT0ZmwAEwRAROP%2BnrNrg@mail.gmail.com> <CA%2BWntOvsN5yb2sWJpb8qb_KtK2o5AVx6vxmgED33rG7o8i-z0Q@mail.gmail.com> <CAMLunXRmtOza8mHVOoG15w=-ZkssUoyK8Wi-cW-9DbE5drnQZg@mail.gmail.com> <CAMLunXS6YB6Zox2AHf-MNxNQRFa-PNSvTp_%2BF3Ut%2BETdB=FkEA@mail.gmail.com> <CA%2BWntOt0aZWOwMeemJ12GmrQtUmsR-J9XXQ%2B-j-JZoNgi9r2KQ@mail.gmail.com> <CAMLunXR4Oux5cDwVcu55CSKKLdiSTtxH%2BkMXUuQybp5uYG8sCw@mail.gmail.com> <CA%2BWntOuiH4MighOSb6BjfjBybtFOFTNAKx%2Bt4Ys3BmxLfaKVHA@mail.gmail.com> <CA%2BWntOs%2BL6mgN2T9UY_yvNNrkvfvPo1pynfdtXhCGZ6ydRe9jQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 02, 2012 at 08:20:05PM -0400, Super Bisquit wrote:
> Here is where the problem becomes apparent.
> 
> file /usr/local/java/jre/bin/java
>  /usr/local/java/jre/bin/java: Mach-o executable ppc
> brandelf -t FreeBSD /usr/local/java/jre/bin/java
> brandelf: file '/usr/local/java/jre/bin/java' is not ELF format
> 
> Mr. Lewis, do you know who created the package? I'd like to be able o work
> with him/her to make a native FreeBSD one.

I said up front this was a MacOS X/ppc package that I was providing as an
example that Zero worked on PowerPC (with a code base that supported
FreeBSD).

I'll repeat this once more.  The code base is likely very close to
supporting FreeBSD/ppc using the Zero VM.  The hard part is going to
be doing the bootstraping for the initial build.  Here is a link to a
post that goes into some of the details on how you can accomplish this.
It's what I did when I did a FreeBSD/sparc64 port using Zero.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=89377+0+archive/2008/freebsd-java/20080203.freebsd-java

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120403061108.GA46679>