This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: .so problem
- From: Muthukumar Ratty <muthu at iqmail dot net>
- To: Gergely Tamás <gertom at rgai dot hu>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 3 Apr 2003 05:18:22 -0800 (PST)
- Subject: Re: .so problem
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
>