[PATCH]: A patch for ld/testsuite

H . J . Lu hjl@valinux.com
Fri Feb 25 18:11:00 GMT 2000


On Fri, Feb 25, 2000 at 05:52:44PM -0800, Geoff Keating wrote:
> > Date: Fri, 25 Feb 2000 17:27:07 -0800
> > From: "H . J . Lu" <hjl@valinux.com>
> > Cc: binutils@sourceware.cygnus.com
> 
> > ld/testsuite will bootstrap ld. If LIBS is set, ld/testsuite will
> > fail to bootstrap ld. It may not work in all cases. But it works for
> > me. If you can show me a problem, I will see what I can do.
> 
> How can setting LIBS affect the bootstrap test?  Before your patch,

LIBS is used to link "ld" in ld/Makefile. That means when you
bootstrap ld, you will need LIBS if it is set.

> there didn't seem to be anything in the testsuite that used it.
> 
> If the problem is that your ld needs some special libraries to link,
> and so the bootstrap test doesn't work, perhaps you should look at
> configure.host and the HOSTING_LIBS variable?
> 

I tried. I need to determine it at the build time.

Could you please show me a case where it will be a problem?

-- 
H.J. Lu (hjl@gnu.org)


More information about the Binutils mailing list