X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=hoDRnSrLUnadW3o1lGgbgu6TYkJIVluFW/xoHOCG3zo
	JuX6ocz7JgFULB2lhVtYKYSsU9sNFo1oOKo9Ttp3Xt0fhCd03COlX5qTMQeHbtvF
	/KBIZRhQsve0FeW4Ihffw3EevEfLYENH07CnJQbFru5WwjTEdL0hA7gBA9at+kq8
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=7q0oUY8Cs+Cn4lpsytX1c0icYfo=; b=iR3lkeXcEQUXgDMXe
	3FJarvZ1fdrxhFzruyYWaiuuutIxqawBW2oWL27Gsd6mqz1F8/lVugY6Dl/+RUHH
	3niaKX0eDgpN7T8CWF7qt+BNngBrx5GJckFSFR58Ku07JNRggp1hx2t9AAW7dpML
	kK5RYenHa9IGJf73ELH4h4T+Uo=
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
X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.68.107.225 with SMTP id hf1mr14254277pbb.130.1371501671500;        Mon, 17 Jun 2013 13:41:11 -0700 (PDT)
Message-ID: <51BF7465.2030104@users.sourceforge.net>
Date: Mon, 17 Jun 2013 15:41:09 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cross-compiling Linux kernel
References: <003401ce6b5d$f6ec87b0$e4c59710$%fedin@samsung.com>
In-Reply-To: <003401ce6b5d$f6ec87b0$e4c59710$%fedin@samsung.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 2013-06-17 08:24, Fedin Pavel wrote:
>   In order to cross-compile Linux kernel i have to patch host-side tools a
> little bit. Current problems are:
>   1. Cygwin misses linux/types.h

I have been trying to get this fixed upstream for quite some time 
without success:

https://lkml.org/lkml/2012/6/11/604
https://lkml.org/lkml/2012/10/15/608
https://lkml.org/lkml/2013/4/28/84

>   2. Cygwin defines the following ELF macros according to host machine:
> ELF_ST_BIND, ELF_ST_TYPE, ELF_R_SYM, ELF_R_TYPE

Those are indeed copied straight from BSD's headers; I'll have to look 
into this further.


Yaakov


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

