This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: .so problem
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Gergely Tamás <gertom at rgai dot hu>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: 03 Apr 2003 09:25:11 -0800
- Subject: Re: .so problem
- References: <3E8BF397.1090803@rgai.hu>
- Reply-to: gcc-help at gcc dot gnu dot org
Gergely Tamás <gertom at rgai dot hu> writes:
> Hello!
>
> 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
>
> - 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?
[snip]
/usr/lib/ld.so.1 is expected to be the linker-loader on the target
system - *not* on the host system. Check the target system for
/usr/lib/ld.so.1 .