This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: A patch for ld/testsuite


On Fri, Feb 25, 2000 at 05:20:31PM -0800, Geoff Keating wrote:
> > Date: Fri, 25 Feb 2000 16:56:38 -0800
> > From: "H . J . Lu" <hjl@valinux.com>
> > 
> > I'd like to check in this patch. Any objections? The problem is LIBS
> > set in ld/Makefile is not passed into ld/testsuite. As the result,
> > some tests may fail.
> 
> I'm not sure how variables set in ld/Makefile, which is for building
> ld on the build machine, applies to running tests for the target...
> 

If you take a look how LIBS is used in ld/Makefile, you will find:

ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
        @rm -f ld-new$(EXEEXT)
        $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) 

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.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]