delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4FA281E3.4020008@samsung.com> |
References: | <4FA281E3 DOT 4020008 AT samsung DOT com> |
Date: | Thu, 3 May 2012 09:08:53 -0400 |
Message-ID: | <CA+sc5mnHw0CuSzaPiAV4ALQVEKs6_Nc20JrEvu-r121nZU3REg@mail.gmail.com> |
Subject: | Re: [bug] elf.h incomplete |
From: | Earnie Boyd <earnie AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q43D9Dqu029250 |
On Thu, May 3, 2012 at 9:02 AM, Fedin Pavel wrote: > Â Why is elf.h include incomplete in Cygwin? > Â I am cross-compiling Linux kernel under Cygwin, and i had to patch modpost > utility, adding missing R_xxx definitions for some reloc types. > Since kernel v3 i have to add some more definitions, as well as patch one > more utility, recordmcount. So, amount of patching grows. > Can Cygwin's elf.h simply include all missing definitions instead? I know > that ELF is not a home format for Cygwin, but many things being cross-build > seem to rely on this include. If you are using any Cygwin header for the build of a system that is to be hosted in some other OS then I suspect you do not know how to properly do a cross build environment. 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. -- Earnie -- https://sites.google.com/site/earnieboyd -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |