This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: $LDFLAGS not honored by tests


On Thursday 18 March 2010 12:39:29 Ludovic CourtÃs wrote:
> $LDFLAGS is not inherited by the DejaGNU test suite machinery (be it an
> Autoconf substitution variable or an environment variable), which leads
> to test failures, e.g., when LDFLAGS="-L/path/to/zlib" and /path/to/zlib
> is not in the linkerâs search path.

respecting all users LDFLAGS can easily cause many more problems.  much of the 
linker output in the tests rely on the default linker behavior.

> Whatâs the preferred way to fix it and/or work around it?

libraries should be found by your toolchain without additional flags, so find 
the sysroot your toolchain is searching and install zlib there.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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