[bug] elf.h incomplete

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu May 3 15:25:00 GMT 2012

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

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.


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

More information about the Cygwin mailing list