Re: [PATCH] allow kernel compile with native ppc64 compiler

From: Paul Mackerras
Date: Mon Oct 18 2004 - 00:57:26 EST


Olaf Hering writes:

> > ... and breaks the compile on older toolchains that don't understand
> > -m32. We need to make the -m32 conditional on HAS_BIARCH as defined
> > in arch/ppc64/Makefile.
>
> how old?

The gcc that comes with debian sid doesn't understand -m32. That's a
32-bit gcc, which means that I set CROSS_COMPILE when doing a ppc64
kernel compile. With your patch I have to set CROSS32_COMPILE as
well, which seems silly when I'm compiling on a ppc32 box already.

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

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/