From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11514 invoked by alias); 4 Jul 2005 15:49:07 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 11503 invoked by uid 22791); 4 Jul 2005 15:49:03 -0000 Received: from nproxy.gmail.com (HELO nproxy.gmail.com) (64.233.182.205) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 04 Jul 2005 15:49:03 +0000 Received: by nproxy.gmail.com with SMTP id x4so167684nfb for ; Mon, 04 Jul 2005 08:49:01 -0700 (PDT) Received: by 10.48.3.14 with SMTP id 14mr119176nfc; Mon, 04 Jul 2005 08:49:01 -0700 (PDT) Received: by 10.48.142.4 with HTTP; Mon, 4 Jul 2005 08:49:01 -0700 (PDT) Message-ID: <4aa50a4605070408496d972ce3@mail.gmail.com> Date: Mon, 04 Jul 2005 15:49:00 -0000 From: Andrew McCall Reply-To: Andrew McCall To: binutils@sources.redhat.com Subject: Compiling, --target question... Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-07/txt/msg00062.txt.bz2 Hi Folks, I am currently trying to set up a build environment for Haiku (was OpenBeOS) under Linux on PowerPC hardware so I can start porting to some systems I have. Someone has already written a howto on how to compile Haiku on Linux which can be read here: http://cvs.sourceforge.net/viewcvs.py/open-beos/buildtools/INSTALL-as-cross= -compiler-on-LINUX?rev=3D1.1&view=3Dmarkup In here binutils is built using --target=3Di586-pc-beos, which builds correctly for BeOS on Intel hardware. There is a PowerPC version of BeOS, however this uses the PEF file format. If I was building a PowerPC version of Haiku I would want to use ELF as backward compatibility isn't really an issue. What do I need to do to be able to use a target command like --target=3Dppc32-pc-beos, or --target=3Dppc32-pc-haiku so it will build for PowerPC CPU's for BeOS using ELF? --=20 Thanks, Andrew McCall andrew.mccall@gmail.com