Yves Rutschle
Thu Mar 22 03:14:00 GMT 2001

Hi all,

I'm trying to find out what shared libraries are used by an executable
from my
development host (namely, I develop on a i586-linux for arm-linux).
After some
research, I found that ldd is part of libtool (somehow I expected it to
part of binutils, but anyway). However, compiling libtool isn't has
straightforward as I thought, I think I mix up who is host and who is
target.. Or maybe ldd can't work at all like that? I think it should.

Anyway, I configure libtool as follow:
configure --host=arm-linux --build=i586-linux --target=i586-linux

and the produced ldd works (so it is compiled for i586), tries to run
$prefix/$target/lib/ which, well, fails because it's an arm

So, my questions:
- Has anyone already compiled/used libtool for that purpose? How do you
it that it works in cross-compiling environment?
- Is there another way of doing it? (I can't find an option to ld to
dump shared libraries, but maybe there is?)


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list