This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: LDSCRIPTS
- From: James E Wilson <wilson at specifix dot com>
- To: John Pierce <john dot w dot pierce at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 10 Aug 2005 19:50:31 -0700
- Subject: Re: LDSCRIPTS
- References: <d3f4099305081017308ee93ec@mail.gmail.com>
On Wed, 2005-08-10 at 17:30, John Pierce wrote:
> Could someone help me to understand what ldscripts are exactly
See the documention
http://sourceware.org/binutils/docs-2.16/ld/Scripts.html#Scripts
Linker scripts are not meant to be modified by end users. They should
only be modified by toolchain developers.
This is in contrast to /etc/ld.so.conf which may need to be modified by
end users when configuring a system.
Having said that, deleting non-existent directories from a linker script
should be safe, but it probably won't do anything, because the linker
won't use that script unless you specify special linker commands, which
you shouldn't be doing either. If you really don't want those
directories in there, you should be modifying the binutils sources to
support an x86_64 single-lib system, so that the linker will have the
desired search dirs built in from the start. But then you probably
shouldn't be doing that either, as that may cause other problems later
on, unless you are willing to deal with those other problems.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com