Аналог findsym для FreeBSD

В ALTLinux’e есть findsym:
Описание:
This program will attempt to search through all your shared libraries
for a specific symbol. This is useful when trying to compile something
and the compiler complains about an undefined reference similar to this:

/tmp/cceuy0nE.o(.text+0×7): undefined reference to `foo’

Running «findsym foo» would try to locate the symbol foo and indicate
what library you should be linking with.

Что подобное есть в FreeBSD?

nm file.o
работает для *.o & *.so
дальше grep

Спасибо, что поделились с друзьями:

0
 




Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

*

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">