X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Blake <ebb9@byu.net>
Subject:  Re: Compiling Kernal on Cygwin [ELF Error]
Date: Wed, 2 Sep 2009 22:18:32 +0000 (UTC)
Lines: 22
Message-ID:  <loom.20090903T001814-535@post.gmane.org>
References:  <dc64ea830909021438v58646bcfx11fb2cc7fae50924@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Cygwin User <mailing_groups-cygwin <at> yahoo.in> writes:

> 
> Hi all,
> As this is my first mail, so I am very sorry for any violation of rules.
> I am trying to compile Linux Kernal on Cygwin (May be sounds funny,
> but I want to).

Yes, it should be possible to compile a kernel, but you will FIRST have to 
compile a cross-compiler, as cygwin does not ship with one.  Not for the faint 
of heart.

> Linux on Windows = Cygiwn

Misleading sig line: Cygwin (note the spelling) is an emulation of linux, but 
it is not truly running linux on windows.  For that, use a virtual machine.  
(By the way, if you do manage to get a cross-compiler working, then build a 
kernel, you end up running it as its own OS rather than as a cygwin app).

-- 
Eric Blake



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

