Javier Serrano Polo <jav...@jasp.net> 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 > right? 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 check for. 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://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu