[Cbe-oss-dev] ps3 cflags/cxxflags

John Frankish j-frankish at slb.com
Sun Jul 5 17:20:55 EST 2009


I'm not sure if I asked this question before, but is there any consensus on what would be the "correct" cflags/cxxflags to use when compiling for ps3, eg:

CFLAGS= "-O2 -pipe -mcpu=cell -mtune=cell -maltivec -mabi=altivec"
CXXFLAGS= $CFLAGS

In addition, does it make sense to use the following when exporting kernel headers:

make ARCH=cell headers_check

I'm still a little confused as to why "uname -a" can bring up several variations on powerpc64, ppc64, cell, etc - guess it depends on the distro (eg ydl) or how clfs was compiled, but it's still not totally obvious for me.

Thanks, John



More information about the cbe-oss-dev mailing list