delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/16/10:15:34

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 AT gmail DOT com>
Reply-To: davidbarr AT iname DOT com
To: cygwin AT cygwin DOT 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
References: <loom DOT 20061216T081535-4 AT post DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019