I am trying to compile an Android kernel on my Mac (El Capitan). It needs to include a certain "elf.h" header file. It is not clear to me yet what this file exactly is, and I apologise for that; anyway, what I ask now is: how to install it?
I tried brew install libelf
, but this only installs a gelf.h, and had a look at elflang on github (https://github.com/elflang), but there are two options in this repository, none of which seems to include an elf.h
Best Answer
Try the one from dtrace that apple ships