Compile Penguin PPC for x386?

2 messages, 2 authors, 2001-12-13 · open the first message on its own page

Compile Penguin PPC for x386?

From: Kent Borg <hidden>
Date: 2001-12-12 21:58:19

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/

Re: Compile Penguin PPC for x386?

From: andrew may <hidden>
Date: 2001-12-13 00:13:42

On Wed, Dec 12, 2001 at 04:58:19PM -0500, Kent Borg wrote:
But then it chokes on some problem in include/linux/highmem.h (48:
parse error before `0').
We use to just pull out the section in the ifndef and things would
work on the 386, but then at some point the 386 kernel would just
hang. I have not been doing any builds recently so I have no idea
how things are going now.

#ifndef __HAVE_ARCH_USER_PAGE

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help