Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: Erik Hensema To: "'cygwin AT sourceware DOT cygnus DOT 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 AT invetech DOT com DOT 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 AT sourceware DOT cygnus DOT com