From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 21 17:18:17 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 754161065673 for ; Sat, 21 Feb 2009 17:18:17 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3263D8FC14 for ; Sat, 21 Feb 2009 17:18:17 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 0643A19014; Sat, 21 Feb 2009 17:18:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from tau.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sat, 21 Feb 2009 17:18:15 +0000 (GMT) Date: Sat, 21 Feb 2009 17:17:52 +0000 From: Bruce Cran To: Rafal Jaworowski Message-ID: <20090221171752.5b6ae0d2@tau.draftnet> In-Reply-To: <49A02FBA.2010103@semihalf.com> References: <49A02FBA.2010103@semihalf.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Crosscomliling world X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 17:18:17 -0000 On Sat, 21 Feb 2009 17:45:46 +0100 Rafal Jaworowski wrote: > Aleksey V Fedorov wrote: > > Hi! > > > > How to crosscomlile world for MPC8548 target on amd64 host? > > I have powerpc-binutils and powerpc-gcc installed in > > /usr/local/bin/powerpc-elf-eabi > > Is there standard method to make crossbuild? > The regular way is the following: > > make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 > > (This creates cross toolchain at the beginning of the build process) You'll probably want to update to a newer version of gcc than 4.2.1 because I believe the MPC8548 (e500v2) was only supported from early 2008. I've only found instructions on blogs etc. for crosscompiling FreeBSD on embedded platforms - is this something that should go on the Wiki or in the handbook? -- Bruce Cran