X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1954LDdMrulS0Zws6qseKWK Date: Thu, 3 May 2012 11:24:58 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [bug] elf.h incomplete Message-ID: <20120503152458.GB22355@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4FA281E3 DOT 4020008 AT samsung DOT com> <4FA2870D DOT 1030604 AT samsung DOT com> <4FA28961 DOT 2010407 AT cs DOT utoronto DOT ca> <4FA28F35 DOT 6060000 AT samsung DOT com> <4FA29070 DOT 1060300 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FA29070.1060300@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, May 03, 2012 at 04:04:32PM +0200, marco atzeri wrote: >On 5/3/2012 3:59 PM, Fedin Pavel wrote: >> On 03.05.2012 17:34, Ryan Johnson wrote: >>> I've also run in to this problem, though in my case I just fired up a >>> VM to work around it... I needed the VM anyway to actually run the >>> newly-built kernel. That said, it would be nice to be able to build on >>> the host and just scp the new vmlinuz across... >> >> I found using VM too uncomfortable and limiting, this is why i switched >> to Cygwin. I have real ARM HW here to actually run the built code. And >> Cygwin NFS server helps a lot with this. >> >>> BTW, libelf.h has all the #defines, but it only #includes them if it >>> doesn't find an elf.h, which Cygwin has. >> >> There's Cygwin package. But i checked it, it doesn't have reloc >> definitions either. So: >> a) Not an option anyway. >> b) Completing system-wide elf.h would solve all problems at once, and >> increase compatibility. Anyway Cygwin's aim is to be as close to UNIX >> environment as possible, to make things working out of the box. Or am i >> wrong here ? >> > >as usual >http://cygwin.com/acronyms/#PTC Right. I've noticed the incompleteness of elf.h from time to time too but extending it would be tedious since you can't just cut/paste from a GPLv* file. Maybe one of the BSDs has something more complete these days? We could use one of those. cgf -- 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