Compile Penguin PPC for x386?

Kent Borg kentborg at borg.org
Thu Dec 13 08:58:19 EST 2001


Is the i386 arch vaguely up to date in the PPC tree?  Does it work?

I mean, if I want to debug some driver that doesn't need actual
hardware (maybe dummy out actual HW banging), can I swap over to
building an i386 kernel?  It would be nice to be using the same
kernel.

If I can do that, how?  In Makefile I changed "ARCH" to i386, changed
"CROSS_COMPILE" to be nothing, did a "make mrproper", copied in a
.config from my Red Hat install, defaulted everything asked by "make
oldconfig", did "make dep", and "make bzImage".

But then it chokes on some problem in include/linux/highmem.h (48:
parse error before `0').

Should this work?


Thanks,

-kb

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list