This is the mail archive of the
mailing list for the binutils project.
Re: a simple question about link
After installing ld , there is a folder named "ldscripts" under
ld's home directory , which can be set by --prefix configure option .
Under /usr/lib folder , there is also a folder named "ldscripts" .
what is the difference between them ?
/usr/lib/ldscripts belongs to the system linker (ie /bin/ld).
<prefix>/lib/ldscripts belongs to the linker that you installed into
<prefix>, ie <prefix>/bin/ld.
ld will use which ?
Neither. :-) It will use the versions of these scripts that are built
directly into the ld binary itself. Try running strings on the ld
executable to see this.