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
Quoted 7 lines · Stan Kuciej
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 theCROSS_COMPILEdefinition.
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
Quoted 3 lines · In message <[email protected]> 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?
Quoted 3 lines
In the u-boot README it says that I have to change the
CROSS_COMPILEdefinition.
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
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "A verbal contract isn't worth the paper it's printed on." - Samuel Goldwyn