ldd and external toolchain
Sorry if this is a stupid question but I can't seem to find any way of getting ldd on my target when I use an external crosstools-ng toolchain.
Is there any support for this with an external toolchain and if so where would I find it?
Thanks
Will
Signature · 5 lines
------------------------------------------------------------------------ Will Wagner will_wagner at carallon.com Development Manager Office Tel: +44 (0)20 7371 2032 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ------------------------------------------------------------------------
Will, All,
Quoted 4 lines · On Friday 17 December 2010 18:31:28 William Wagner wrote:
Sorry if this is a stupid question but I can't seem to find any way of getting ldd on my target when I use an external crosstools-ng toolchain. Is there any support for this with an external toolchain and if so where would I find it?
For glibc, ldd on the target is but a simple script, and glibc installs a ldd script (can't remember where, look in the sysroot, probably).
For uClibc, ldd is a C program, and crosstool-NG does not build or install it. However, it should not be too difficult to build and install them as part of the standard build.
Crosstool-NG, however, installs a ldd-like script that can be used the cross
way: call it as you call ldd, specify where the rootfs is, and it tries to resolve dependencies. There are still limitations, though, but are about missing --data-relocs, --function-relocs, --unused, and --verbose.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'