This is the mail archive of the
mailing list for the Cygwin project.
RE: compiling a linux kernel
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: RE: compiling a linux kernel
- From: Erik Hensema <erik dot hensema at group2000 dot nl>
- Date: Thu, 21 Oct 1999 13:57:49 +0200
> -----Original Message-----
> From: Gokhan Tanyeri [mailto:firstname.lastname@example.org]
> 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
Want to unsubscribe from this list?
Send a message to email@example.com