Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 17:17:52 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Rafal Jaworowski <raj@semihalf.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Crosscomliling world
Message-ID:  <20090221171752.5b6ae0d2@tau.draftnet>
In-Reply-To: <49A02FBA.2010103@semihalf.com>
References:  <Pine.GSO.4.62.0902211912030.19887@serv1> <49A02FBA.2010103@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Feb 2009 17:45:46 +0100
Rafal Jaworowski <raj@semihalf.com> 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



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