[lkml]   [1998]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Changing topic (longish), was Re: GGI debate and etc.
> This may be a dumb question, but this seemed like the best time to bring
> it up. I am wondering if there is currently a way to 'cross-compile' a
> kernel.
> For instance (and the pre-requesite of a gcc that is capable of cross
> compiling is a given) if on my PC I wanted to compile a kernel for a
> PowerMac, is this already possible?

I think you could just change line 5 in the top-level Makefile from

ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)


ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/i386/ppc/)

but I haven't tried it. IMO it would be better if the platform could be
set in the configuration programs, with the uname test used to establish a
default when there is no .config file.
Trevor Johnson

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:41    [W:0.267 / U:0.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site