Ciprian Niculescu wrote:
>
> Dorind sa compilez un program pe un Sun, la link editare imi spune ca nu
> gaseste o functie, desi man functie, exista, dar nu spune in ce
> biblioteca se afla functia, cum se poate afla???
>
> C
Pe Linux poti afla cam asa:
find path -name "lib*" -type f -exec sh -c "nm -D {}|egrep 'T
nume_functie' && echo {}" \;
Daca ai gnu nm (binutils) probabil ca merge la fel si pe Sun.
De exemplu pentru printf:
find /lib -name "lib*" -type f -exec sh -c "nm -D {}|egrep 'T printf'
&& echo {}" \;
Rezultat:
0005569c T printf
00054f60 T printf_size
00055648 T printf_size_info
/lib/libc-2.1.95.so
Andrei
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.