www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46B0A9AB.B147C909@dessent.net> |
Date: | Wed, 01 Aug 2007 08:41:31 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Linux kernel compilation for x86 on Cygwin |
References: | <46B051D2 DOT 1070500 AT gmail DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Claudio Scordino wrote: > I'm trying to compile the Linux kernel using the gcc toolchain of cygwin. > This time, I'm trying to compile the kernel for the host machine (x86). You *are* building a cross compiler, right? Because the native Cygwin gcc will not be usable for building anything linux. Just because gcc on Cygwin and gcc on Linux both happen to generate code that runs on the x86 does not mean they are in any way the same platform, so you absolutely cannot use the Cygwin gcc to build a Linux kernel. But you can use the Cygwin gcc to build a Linux-targeted Cygwin-hosted cross-gcc, and then use that to build the Linux kernel. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |