
Dear Kenneth Johansson,
In message 1244733541.4182.81.camel@localhost.localdomain you wrote:
ARCH and CROSS_COMPILE are set and exported (ARCH=ppc, CROSS_COMPILE=powerpc-linux-)
...which is plain wrong. "powerpc-linux-" is NOIT a legal setting for CROSS_COMPILE.
why is that ?
Because that's the way how the ELDK is designed.
it's just a prefix to whatever you compiled the toolkit to use no?
At least with ELDK, which supports a wide range pf processor fami- lies, it also has to carry information about which CPU architecture you are targeting for.
ELDK uses two methonds to find out what you might want to do: it checks the content of CROSS_COMPILE, and it checks the name you use to run the tools.
If you set CROSS_COMPILE=powerpc-linux- and run "ppc_8xx-gcc" there is still some indication that, for example, you are on a system which has no FPU and only short cache lines. But with above usage, no such information is available.
All this (including the legal values to be used for CROSS_COMPILE) is described in the manual; please RTFM for details.
Ignoring the documentation and doing non-standard things is asking for trouble.
Best regards,
Wolfgang Denk