Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 17:45:46 +0100
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Aleksey V Fedorov <alexf@vsi.ru>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Crosscomliling world
Message-ID:  <49A02FBA.2010103@semihalf.com>
In-Reply-To: <Pine.GSO.4.62.0902211912030.19887@serv1>
References:  <Pine.GSO.4.62.0902211912030.19887@serv1>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

Hi Aleksey,
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)

If you'd like to use cross toolchain other than the in-tree one, you need to
tweak makefiles to point to your tools.

Rafal



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