From owner-freebsd-java@FreeBSD.ORG Tue Apr 3 05:19:04 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5469E106564A; Tue, 3 Apr 2012 05:19:04 +0000 (UTC) (envelope-from catull@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8CF8FC15; Tue, 3 Apr 2012 05:19:03 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3749689bkc.13 for ; Mon, 02 Apr 2012 22:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QVaJX9qlFcdXVuM2kEPJv7+8PmwWfRNUa3vk2lYNTIU=; b=SQUiyscOTz384LXgWvd34iUoesl7nFDLnvx04iHWNbUYRaEmYpOCFBCHlnj9qm0Rzd dlvqXX9+8A1iz5O3wgBP/cQSJrPb8/0Iyy6djuwDexbRIZN4Dg0dxlUiTY6cy9ZcUq3H 0uri4l6hL1VgmHcz64rB+R1rT5cdpBehQHwDaAY1ZxtBNmBq05/dGSjYKZZYMP9nqBwN PBsM0iopvIw5t1FEOI/OHgxEAoeqviIAzkjsx8ERWozZ8Qbvi/oEM9swLSY5k4Xsw6vc tu9BqNCs4lLvEtoKvohhPBHX0Lt+FbU5Ms8NRxkx0Vj1NaiT4wdZefo3YxY8lGq0D+oF evdQ== MIME-Version: 1.0 Received: by 10.204.133.210 with SMTP id g18mr4815900bkt.107.1333430342392; Mon, 02 Apr 2012 22:19:02 -0700 (PDT) Received: by 10.204.53.72 with HTTP; Mon, 2 Apr 2012 22:19:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Apr 2012 07:19:02 +0200 Message-ID: From: Carlo Dapor To: Super Bisquit Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java , FreeBSD PowerPC ML Subject: Re: Problems with compiling java programs on FreeBSD from ports 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, 03 Apr 2012 05:19:04 -0000 On 3 April 2012 02:20, Super Bisquit 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