On Sat, 2015-03-28 at 23:41 +0100, Mark Wielaard wrote:
I do like the idea. But there is one extra issue if we want this to
an installed header like known-dwarf.h now is (and I think we do).
It is generated against libelf/elf.h which is our local copy of elf.h
from glibc. We do that to make sure we have the latest version with
all relevant constants. But that means it might be different from the
version of elf.h on the installed system. So to make it useful we
also need to install our elf.h as elfutils/elf.h. I think that is fine
but it is also a little weird since it really is glibc's elf.h.
And I just realized libelf.h includes elf.h. So mixing
libelf/known-elf.h with libelf.h would be slightly tricky.