X-Spam-Check-By: sourceware.org
Message-ID: <17cf793e0612160715l39a95347nc6970c8784900d98@mail.gmail.com>
Date: Sat, 16 Dec 2006 10:15:21 -0500
From: "David Barr" <david20708@gmail.com>
Reply-To: davidbarr@iname.com
To: cygwin@cygwin.com
Subject: Re: something goes wrong while compiling linux kernel under cygwin
In-Reply-To: <loom.20061216T081535-4@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <loom.20061216T081535-4@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 12/16/06, Leo Liu <desfilms at gmail dot com> wrote:
> Hi, i'm a newbie to use cygwin under windows. I have known steps of compiling
> kernel under Linux. For some reason, i want to compile linux kernel under
> Windows now. But i met some problems which stops me to continue.

What you are trying to do is referred to as cross compiling.

The GCC that comes with Cygwin was configured at compile time to
produce Windows object code and executables.  You first need to
recompile GCC so that it produces Linux output.  Then, you need to
recompile any utilities that the Linux kernel build process may use
that aren't included with Cygwin.  And, you'll need to cross compile
any libraries that are compiled into the Linux kernel (if there are
any).

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

