lkml.org 
[lkml]   [1998]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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/)

    to

    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 majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:41    [W:0.028 / U:150.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site