On Tue, May 08, 2001 at 11:17:58AM -0400, Tod Thomas wrote:
> When installed a directory is created called
> /usr/local/sparc-sun-solaris2.8/bin/ that a copy of the binutils binaries are
> made, in addition to the normal /usr/local/bin.
Did you configure gcc with --with-gnu-ld?
> This is weird, both installed instances of ld are exactly the same.
Both meaning "/usr/local/bin" and "/usr/local/sparc-sun-solaris2.8/bin/"?
Keep in mind, there's another one in /usr/ccs/bin, and *that* one is the
one that'll be called by gcc if the /usr/local/sparc-sun-solaris2.8/bin
copy is missing.
The one in /usr/ccs/bin is part of Solaris, not GNU binutils. If you
built gcc with "--with-gnu-ld" then you'll need GNU ld to be in that
"/usr/local/sparc-sun-solaris2.8/bin/" directory. If you built gcc
*without* --with-gnu-ld, then you'll need ld *not* to be there, so that
gcc falls back on the /usr/ccs/bin version.