What is clang analog ldd?

How to find out which DLL the executable depends on?

On systems with the GNU development toolchain ( gcc& c), I use this for this ldd, but what about systems clanglike Mac OS X (which doesn't ldd) , for example ?

+4
source share
1 answer

On Mac OSX, use otool -Linstead ldd. This works regardless of the compiler you use. Other operating systems may have other tools; for example on Windows you would use Dependency Walker.

+4
source

Source: https://habr.com/ru/post/1540851/


All Articles