$(build_tooldir)/lib (was Re: http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html)

Jason Merrill jason@redhat.com
Fri Jul 21 01:17:00 GMT 2000
To resurrect a thread from May...

Jim Wilson <wilson@cygnus.com> writes:

> The part of H.J.'s patch that I don't understand is why he adds a
> -B option pointing to a library directory: -B$(build_tooldir)/lib/.
> There are no executables there, so adding a -B option for that directory
> seems wrong and unnecessary.

Presumably because -B also adds to startfile_prefixes; the same
unlibsubdir problem that caused us to define build_tooldir for
executables would also affect the libraries and startfiles.

But then why don't we also need a -L$(build_tooldir)/lib?

Jason


More information about the Binutils mailing list