This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Thanks for the answer. Le Fri, 24 Oct 2008 12:57:28 +0200, Marc Kleine-Budde <mkl@pengutronix.de> a Ãcrit : > $CROSS-readelf -d As Yann said, this doesn't resolve the path to the libraries, and it also doesn't seem to recursively resolve the library dependencies (i.e a binary depending on liba, which then depends on libb. readelf -d will only show liba, while ldd will show both liba and libb). > just copy the ldd from the host to the target, it's a script. Maybe > you have to adjust some lines here and there Thanks, I discovered that ldd on my host is a shell script, I never had a look at it. The problem is that it seems to use /lib/ld-linux.so.2 in standalone mode to resolve the dependencies, but the standalone mode is not implemented in uClibc version of /lib/ld-linux.so.2. In the uClibc source code, there is a standalone version of ldd, in utils/ldd.c. Maybe this version of ldd could be cross-compiled by crosstool-ng and placed somewhere in the installation directory of the toolchain, so that one could copy it to the target if needed. Sincerly, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |