假设可执行文件 test
假设动态库 shared
window:
depends.exe (老版本vs带此工具)
macox:
查看依赖的动态库
otool -L test
可以查看 @rpath路径 LC_RPATH , 用这个路径替换动态库的@rpath
otool -l test
linux:
ldd -v test
readelf 也可以
android:
创建交叉工具链
假设可执行文件 test
假设动态库 shared
window:
depends.exe (老版本vs带此工具)
macox:
查看依赖的动态库
otool -L test
可以查看 @rpath路径 LC_RPATH , 用这个路径替换动态库的@rpath
otool -l test
linux:
ldd -v test
readelf 也可以
android:
创建交叉工具链