Crosscomliling world

Rafal Jaworowski raj at semihalf.com
Sat Feb 21 08:45:50 PST 2009


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


More information about the freebsd-ppc mailing list