[Cbe-oss-dev] ps3-kexec-tools (latest git update) compiling problems (on PS3)
Jeremy Kerr
jk at ozlabs.org
Sun Dec 23 14:37:00 EST 2007
> Is there something I am missing that is causing both errors ?
Nope, just some changes I made to the kexec build system probably make
it a little more picky about the compilers.
By default, it will try ${target}-gcc as the compielr for the purgatory,
but if that fails, we fall back to gcc. The problem looks like your
default target gcc builds 32-bit objects by default.
Your installation of ppu-gcc works because it defaults to 64-bit, it's
nothing to do with the Cell specific stuff :)
So, all you need to do is make sure $TARGET_CC will build objects
suitable for your purgatory - in this case, powerpc64.
TARGET_CC='gcc -m64' should work in most cases.
(although, to make things easier for people, maybe purgatory builds for
ppc64 should automatically add -m64).
Cheers,
Jeremy
More information about the cbe-oss-dev
mailing list