Re: other platforms and Linux compile...

Gerd Knorr (kraxel@goldbach.isdn.cs.tu-berlin.de)
Wed, 6 Aug 1997 08:48:19 +0200


In article <Pine.LNX.3.96.970805105527.24630E-100000@sigil.csc.com>, you wrote:
>So how difficult IS it to compile linux for another platform?

Simple. Just edit the "ARCH=" line the top level Makefile or invoke make
with "make ARCH=sparc". And with 2.1 you don't even need this, as the
default value for ARCH is `uname -m`

Cross-compiling:
make ARCH=sparc CROSS_COMPILE=sparc-linux- config
make ARCH=sparc CROSS_COMPILE=sparc-linux- boot modules

That's all.

Gerd