delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/29/01:46:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-VR-Score: -30.00
X-Authority-Analysis: v=1.0 c=1 a=J_OOFLP-VM0A:10 a=32ZctuUUCG4H_XhEZgEA:9 a=-jB6e-nXtzVLNNoP-6YA:7 a=2U_c1e-eahrKA5NVodeghckedBcA:4
X-CM-Score: 0.00
Message-ID: <4B1218AB.9030503@ou.edu>
Date: Sun, 29 Nov 2009 00:46:03 -0600
From: "Stephen M. Kenton" <skenton AT ou DOT edu>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Conflict between elf.h and ELFTypes.h
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

 >>I was tinkering with cross compiling the Linux kernel on Cygwin 1.7 and
 >>go a new error since the last time. The kernel compression now uses some
 >>more elf definitions for x86 which are in elf.h on Linux but in
 >>ELFTypes.h on Cygwin 1.7. You cannot include both because there is a
 >>conflict between elf.h and ELFTypes.h. This is in addition to the
 >>non-x86 elf definitions used on Linux by scripts/mod/modpost which are
 >>not available in the elf.h on Cygwin.
 >
 >Patches Thoughtfully Considered.
 >
 >cgf

Fair enough. I'll see if I what I can figure out. How does one handle 
the copyright on  header files which must have the exact same spelling 
and values for things like elf constants? ELFTypes.h is already GPL like 
the Linux elf.h while the Cygwin elf.h is copyright Red Hat Inc. with 
the "CYGWIN_LICENSE" ? Can we just copy paste the actual definitions and 
their descriptions or do we have to retype them and try to make up 
different descriptions and comments? Are the /usr/include headers and 
elf.h in particular the special domain of anyone I should consult with 
off list before cooking up patches?

Thanks,

Steve



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