Re: 32bit builds on x86-64 host.

From: H. Peter Anvin
Date: Tue Oct 30 2007 - 21:16:28 EST


Jeremy Fitzhardinge wrote:
Christoph Hellwig wrote:
Which seems rather unnatural to me. All other merge architectures have
ARCH=<archdir> where archdir is the name under arch, e.g. mips, powerpc,
s390. They then have a CONFIG_FOO_64 and set the utsname and -m32/-m64
respectively. It would be nice if x86 could behave like all other
architectures in this respect. Especially as the behaviour of the other
architectures is a lot more intuitive.

Yes, that would be nice. I keep forgetting the ARCH= in my crossbuild
trees, and end up with strange mismashes.


That, however, is a bigger problem that also affects, for example, compiling for MIPS on an x86 host. I believe Sam is working on a solution for that.

(That doesn't mean that is not the right thing to do.)

-hpa
-
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/