This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
--as-needed by default
- From: Mike Hearn <mike at navi dot cx>
- To: binutils at sources dot redhat dot com
- Date: Thu, 03 Mar 2005 14:30:11 +0000
- Subject: --as-needed by default
Hi,
I'm wondering why the --as-needed ld option is not used by default.
Presumably it could break software, and I'm wondering if this is actually
the case or if there is some other reason.
If it breaks backwards compatibility, is it known how widespread the
problems are?
I understand that changing ld itself may not be what is wanted. So in that
case the question would become, "Why is --as-needed not in the gcc
specfiles so it's used automatically?".
thanks -mike