Ldd for ARM cross-compiler

Using Sourcery CodeBench Lite you can quite easily cross-compile tons of open-source projects for Android. But sometimes regardless of all your efforts, the compiled binary contains library dependencies. To list these dependencies, we regularily use ldd. The cross-compiler does not have an ldd script, but we can work around that by executing this instead:
arm-none-linux-gnueabi-readelf -a my_cross-compiled_executable | fgrep "Shared library:"

Syndicate content