Re: Detecting hurd libraries
Javier Serrano Polo <firstname.lastname@example.org> writes:
> It looks like you are interested in Hurd.
I am interested in portability issues in general.
> I am trying to detect Hurd libraries. The best way I find is to look
> for a dependency on libc.so.0.* and not have the FreeBSD flag. Am I
The Hurd has specifically used the SONAME libc.so.0.3 since April 2002,
but I don't know whether that's plausibly subject to change at any
point. Apart from that, I'm not aware of anything specific you could
For *executables*, it looks like you can check for an .interp value of
/lib/ld.so, but dynamic libraries have no such section.
Thanks for asking!
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://email@example.com