ld doesn't relocate sysroot if called as tooldir/bin/ld
Alexandre Oliva
aoliva@redhat.com
Tue Feb 25 04:53:00 GMT 2003
On Feb 20, 2003, Daniel Jacobowitz <drow@mvista.com> wrote:
> Hmm, you're doing a duplicate stat; could you try to avoid that? It's
> easy, just means a little more indentation.
Sure, how about this?
> I also just want to throw out another thought: with the patch I posted
> to gcc-patches earlier today, if we made the version in TOOLBINDIR a
> symlink to the one in BINDIR instead of a hardlink, it would work
> automatically.
Unless someone actually added toolbindir to their path and ran it by
hand, right? Besides, there are systems that still don't support soft
links, so we'd fail on those.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysroot-ld-toolbindir.patch
Type: text/x-patch
Size: 1881 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030225/a99de90b/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Binutils
mailing list