Hi Roland,

On Sunday 28 August 2016 07:27:06 Roland Hieber wrote:
> [...]
> I also added a LIBC_M dependency in the packages that needed it because
> the build output showed "-lm" in libtool calls.  I tried to discover
> additional runtime dependencies, but didn't find a good way to determine
> which objects are loaded at run time – on my machine I would have used
> ldd for that, but I can't do that for ARM binaries.  Is there a way
> without actually running the binary (in qemu)?  The Guru Guide chapter
> on Managing External Runtime Dependencies is very sparse on that topic.

Hmm,

$ ptxdist menuconfig
  Debug Tools  --->
     <*> ldd

Or: "readelf -d <prog or lib>" is your friend.

Or, at run-time: start the program and take a look into "/proc/<its-pid>/maps".

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to