[PATCH] allow kernel compile with native ppc64 compiler

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Oct 18 20:58:27 EST 2004


On Mon, 2004-10-18 at 17:54, Olaf Hering wrote:

> 
> > Ben H suggested making the default BOOTCC be $(CC) -m32, which makes
> > sense to me.

How so ? The idea is to add -m32 to whatever compiler you are using for
the rest of the kernel (assuming bi-arch) which is a lot more sane than
using whatever _local_ compiler you are using _and_ assuming bi-arch...

Of course, that would only be the "defaul", with the ability of explicitly
passing CROSS32_COMPILE to make...

Ben.





More information about the Linuxppc64-dev mailing list