delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/17/11:18:38

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=C3wHc/2UxVm3cTtetVKfHhv7fvPaj5bhK2Mfo3A++ojxpu6e/xNhp
SY7dDoOrJlaFa7HcnWaL6s7qbWg52udCpgV1cjdWrRkwlFuqtvvvbilTZoo5/IU3
obe8deoTl4urL4UlHxdXm0tVfDUUTnbNXRFjdzAoiOy2NmiOAhALME=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=KkYV9hJACPQlDKSJRGY6gqlZUrk=; b=OXUFMbDcITXM7rLfAAFrT1q9278P
jPiQsTEvW269WF+/gRprtU5pHZpTUbo9CQGzper2+751qHWo43Z8f+AYTCnC5c1j
oyezc3CfMraDQ/fQU7yeiNYEtAKKu4ULAMFZJil0cfVPMI7npl+JthUbi4Spjd3p
F9PAln81kgqprkY=
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
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Mon, 17 Jun 2013 17:18:19 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cross-compiling Linux kernel
Message-ID: <20130617151819.GB13457@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <003401ce6b5d$f6ec87b0$e4c59710$%fedin AT samsung DOT com>
MIME-Version: 1.0
In-Reply-To: <003401ce6b5d$f6ec87b0$e4c59710$%fedin@samsung.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 17 17:24, Fedin Pavel wrote:
>  Hello!
> 
>  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
>  2. Cygwin defines the following ELF macros according to host machine:
> ELF_ST_BIND, ELF_ST_TYPE, ELF_R_SYM, ELF_R_TYPE
> 
>  What about improving Linux compatibility ? We could have own version of
> linux/types.h (for __u8. __u16, etc), and omit ELF definitions. AFAIK they
> are not used anywhere, they are just inherited from BSD.
>  At the other hand, i believe the same problem will happen if i try to
> cross-compile Linux kernel under BSD. And Cygwin is BSD-style system...

I have no opinion on the ELF definition issue, but just adding a
linux system header looks pretty wrong to me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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