delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/03/09:24:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 03 May 2012 17:24:29 +0400
From: Fedin Pavel <p DOT fedin AT samsung DOT com>
Subject: Re: [bug] elf.h incomplete
In-reply-to: <CA+sc5mnHw0CuSzaPiAV4ALQVEKs6_Nc20JrEvu-r121nZU3REg@mail.gmail.com>
To: Earnie Boyd <earnie AT users DOT sourceforge DOT net>, cygwin AT cygwin DOT com
Message-id: <4FA2870D.1030604@samsung.com>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:10.0) Gecko/20120206 Thunderbird/10.0
References: <4FA281E3 DOT 4020008 AT samsung DOT com> <CA+sc5mnHw0CuSzaPiAV4ALQVEKs6_Nc20JrEvu-r121nZU3REg AT mail DOT gmail DOT com>
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 03.05.2012 17:08, Earnie Boyd wrote:
> To build the Linux kernel
> under Cygwin requires you have the proper libraries and headers for
> Linux installed in the cross environment.  It should not be using the
> libraries and headers provided by the Cygwin build environment.
  I know about this. My cross-compiler is OK. I cross-build many stuff 
with it.
  But Linux kernel build process needs some specific tools, like 
modpost. They are also built from sources, but they are built to run on 
the host, not on the target. And of course they use host's (Cygwin's in 
our case) gcc with its includes.
These tools operate on newly built ELF files, this is why they use these 
includes.

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
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

- Raw text -


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