Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <A01E735D4940D311A3850090275559330BA98F@NTSRV02>
From: Erik Hensema <erik.hensema@group2000.nl>
To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: RE: compiling a linux kernel
Date: Thu, 21 Oct 1999 13:57:49 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"

> -----Original Message-----
> From: Gokhan Tanyeri [mailto:zgt@invetech.com.au]
> 
> Hi everybody, 
> I am trying to compile a Linux kernel with GNU powerPC tools 
> on a NT machine
> running cygwin b20.1. Make configure goes well but when I try 
> to make dep, I
> get an error something like"mmap: out of memory". Has anyone 
> tried compiling
> a linux kernel with cygwin? Is it possible to do that or is 
> it just silly to
> try this?

Compiling a Linux kernel is even under Linux a very complex proces. It only
works well with specific versions of GCC, and uses (used?) some horrible
hacks, like exploiting bugs in GCC. Also, this process is that big a load to
the system, I actually use it as a reliable memory test on new machines (if
the compilation fails, there's a very big chance that a RAM chip is broken).

Crosscompiling is an even more complex issue, as is emulating Unix on NT. So
what you're trying to do is _extremely_ complex. You're bound to run into
some problems sooner or later. Better just compile the kernel on a powerpc
running LinuxPPC, or, if that is not an option, a Linux/x86 running a
cross-compiler.

> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

