[U-Boot-Users] CROSS_COMPILE definition question

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? Thanks, Stan Kuciej

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

In message 40A12D13.20800@wink.ho.lucent.com you wrote:
I want to compile u-boot for a MPC8272ADS board on a Sun with the gcc cross-compiler.
Wat exactly is the name of this 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?
I don't know the name of your cross compiler, so how can I tell?
Best regards,
Wolfgang Denk
participants (3)
-
Jon Loeliger
-
Stan Kuciej
-
Wolfgang Denk