.so problem

Muthukumar Ratty muthu@iqmail.net
Thu Apr 3 13:33:00 GMT 2003


On Thu, 3 Apr 2003, [ISO-8859-2] Gergely Tamás wrote:

> I'm trying to cross-compile for arm-linux. After linking, the executables
> contain "/usr/lib/ld.so.1" in the ".interp" section. But the only similar
> file I have in the $(PREFIX)/lib directory is ld-linux.so.2

If this file is for ARM then either
1. you can create a ld.so.2 as symbolic link to this one OR
2. you can edit the gcc spec files to change the ld.so.1 to ld.so.2 OR
3. you can explicitly pass it to linker as option


>
> - Could anyone tell me where the value of the ".interp" section comes from?
> - Does /usr/lib/ld.so.1 comes with the linux system or belongs to binutils
> or gcc or glibc?
>
> Thanks,
> gertom
>



More information about the Gcc-help mailing list