-Wl,--as-needed

Ralf Corsepius rc040203 at freenet.de
Fri Jun 30 03:10:27 PDT 2006


On Fri, 2006-06-30 at 11:47 +0200, Ralf Corsepius wrote:
> On Fri, 2006-06-30 at 12:20 +0300, Panu Matilainen wrote:
> > Inspired by ponderings on fedora-maintainers list, I had a look at what
> > sort of effect -Wl,--as-needed would have on apt.

> >  For one, I've no idea what toolchain versions support it in the
> > first place...
> I recall, when it had been introduced ... some years ago [1], ... could
> be binutils-2.13.x or so. I could check the binutils sources ...

Alan Modra seems to have introduced it to binutils trunk on 2004-03-18.

On 2004-04-08 he seems to have backported it to binutils-2.15-branch.

binutils-2.15 (released sometime May 2004) had been the first FSF
release of binutils having contained support for --as-needed (Note: Most
Linux binutils ship H.J.Lu's binutils, these are not identical to the
FSF versions).

Ralf






More information about the Apt-Rpm mailing list