Hi,
Each arm-linux-gcc-xxx has its own ldd, you can check that./
Each?
In my linux system, I've install two toolchains : arm-linux-gcc-3.3.2 and arm-linux-gcc-3.4.1.
In arm-linux-gcc-3.3.2 folder: I file ldd in arm/3.3.2/bin/ldd,
in arm-linux-gcc-3.4.1 folder: I file ldd in arm/3.4.1/arm-linux/bin/ldd.
This is the message received when I execute "ldd" and "file" command (I cross-compiled "intelligent_office" with toolchain arm-linux-gcc-3.3.2) :
[root@localhost intelligent_office]# /usr/local/arm/3.3.2/bin/ldd intelligent_office
/usr/local/arm/3.3.2/bin/ldd: line 130: /usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file
/usr/local/arm/3.3.2/bin/ldd: line 140: /usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file
ldd: /usr/local/arm/3.3.2/lib/ld-linux.so.2 exited with unknown exit code (126)
[root@localhost intelligent_office]#
[root@localhost intelligent_office]#
[root@localhost intelligent_office]# /usr/local/arm/3.4.1/arm-linux/bin/ldd intelligent_office
not a dynamic executable
[root@localhost intelligent_office]#
[root@localhost intelligent_office]# file intelligent_office
intelligent_office: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
[root@localhost intelligent_office]#
[root@localhost intelligent_office]# /usr/local/arm/3.3.2/bin/ldd intelligent_office
/usr/local/arm/3.3.2/bin/ldd: line 130: /usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file
/usr/local/arm/3.3.2/bin/ldd: line 140: /usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file
ldd: /usr/local/arm/3.3.2/lib/ld-linux.so.2 exited with unknown exit code (126)
[root@localhost intelligent_office]#
[root@localhost intelligent_office]#
[root@localhost intelligent_office]# /usr/local/arm/3.4.1/arm-linux/bin/ldd intelligent_office
not a dynamic executable
[root@localhost intelligent_office]#
[root@localhost intelligent_office]# file intelligent_office
intelligent_office: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
[root@localhost intelligent_office]#
To copy to clipboard, switch view to plain text mode
I'm sorry for inconvenient for you, you are the only one person replied me.
I really need to solve it. I look forward to get replies from you.
Thanks in advance.
ANH.
Bookmarks