lkml.org 
[lkml]   [2000]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compile a kernel...outside Linux
On Mon, Mar 13, 2000 at 08:52:29PM -0500, Donald Ian Wilson wrote:
> The question is this: I want to recompile my kernel, optimized for
> the G4 chip. Obviously, GCC isn't going to do this. I'm assumeing
> there must be a way to compile the kernel without being in linux
> itself...how else would the first kernel of each new port be
> compiled?

You can compile it anywhere you can run gcc (and gcc runs in a lot of
places). Using any other compiler than gcc is going to be hopeless.

> how else would the first kernel of each new port be compiled?

Using a gcc on the native OS of the new architecture or using a gcc
cross compiler on another architecture. I.e. before Linux can run on a
new architecture gcc and binutils already have to support it.

--
Andreas E. Bombe <andreas.bombe@munich.netsurf.de>
http://home.pages.de/~andreas.bombe/ DSA key 0x04880A44

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans