Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 07:19:02 +0200
From:      Carlo Dapor <catull@gmail.com>
To:        Super Bisquit <superbisquit@gmail.com>
Cc:        freebsd-java <freebsd-java@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Problems with compiling java programs on FreeBSD from ports
Message-ID:  <CAMLunXQVrxa-1jRy-bt_p4oeGsbZmA_BwWDsDi1f=Lu6zuDrDA@mail.gmail.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 3 April 2012 02:20, Super Bisquit <superbisquit@gmail.com> wrote:
> Here is where the problem becomes apparent.
>
> file /usr/local/java/jre/bin/java
> =A0/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 wor=
k
> with him/her to make a native FreeBSD one.

Hello Super Bisquit

What you need is objconv, fetch it from http://www.agner.org/optimize,
midway on that page under "Object file converter".
Used it myself to build flatassembler for MacOS X 10.5 and 10.6, as
you only get an ELF object file.


Good luck,
--
Carlo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMLunXQVrxa-1jRy-bt_p4oeGsbZmA_BwWDsDi1f=Lu6zuDrDA>