This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Support LD_AS_NEEDED
- From: Nick Clifton <nickc at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 07 May 2009 16:01:17 +0100
- Subject: Re: PATCH: Support LD_AS_NEEDED
- References: <20090506212719.GA28875@lucon.org>
Hi H.J.
I got a request to support LD_AS_NEEDED. OK for trunk?
Nope.
No patch that adds the passing of command line switches via environment
variables is ever going to be accepted.
It confuses users when the linker does not behave in way that looking at
the linker command line would suggest. Plus it makes debugging even
more difficult since it can be very difficult to determine exactly what
the environment variables contain at the time that the linker is executed.
Cheers
Nick