Darwin programming tips

To read the table of contents of a archive file (libfoo.a) do
otool -Sv /usr/lib/libfoo.a
In linux, you would use "nm -s" a b c d e