[U-Boot-Users] CROSS_COMPILE definition question

Jon Loeliger jdl at freescale.com
Tue May 11 22:16:51 CEST 2004


On Tue, 2004-05-11 at 14:44, Stan Kuciej wrote:
> Hi All,
> I''m new to u-boot and I have a question:
> I want to compile u-boot for a MPC8272ADS board on a Sun with the gcc 
> cross-compiler.
> In the u-boot README it says that I have to change the CROSS_COMPILE 
> definition.
> What do I change it to in this case?

You set it to be the name of the cross compiling GCC binary prefix.
Likely, something like "sparc-unknown-linux-ppc-".  For example, I have
a meticulously named toolchain environment that supplies a cross
compiler like this:

    % make CROSS_COMPILE=/_TOOLS_/dist/gnu-gcc-3.3-e500-branch-20040127-binutils-2.14-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/bin/powerpc-unknown-linux-gnuspe-

Since I don't know what your toolchain looks like, you are going
to have to figure out how that maps to your tools, I'm afraid...

HTH, though,
jdl






More information about the U-Boot mailing list