From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8060 invoked by alias); 3 May 2012 13:24:43 -0000 Received: (qmail 8051 invoked by uid 22791); 3 May 2012 13:24:42 -0000 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 Received: from mailout1.w1.samsung.com (HELO mailout1.w1.samsung.com) (210.118.77.11) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 May 2012 13:24:29 +0000 Received: from euspt2 (mailout1.w1.samsung.com [210.118.77.11]) by mailout1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0M3G00GAX7TXLK@mailout1.w1.samsung.com> for cygwin@cygwin.com; Thu, 03 May 2012 14:22:45 +0100 (BST) Received: from [106.109.9.113] by spt2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0M3G006Q37WOFF@spt2.w1.samsung.com> for cygwin@cygwin.com; Thu, 03 May 2012 14:24:25 +0100 (BST) Date: Thu, 03 May 2012 13:24:00 -0000 From: Fedin Pavel Subject: Re: [bug] elf.h incomplete In-reply-to: To: Earnie Boyd , cygwin@cygwin.com Message-id: <4FA2870D.1030604@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:10.0) Gecko/20120206 Thunderbird/10.0 References: <4FA281E3.4020008@samsung.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-05/txt/msg00037.txt.bz2 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