[Bug driver/52982] New: add option to select particular linker
fche at redhat dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 20:16:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52982
Bug #: 52982
Summary: add option to select particular linker
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fche@redhat.com
If one has both ld and gold installed, gcc gives little help in letting someone
choose one or the other for a particular link job. (Systemwide relinking a la
alternatives(1), or forcing creation of a temporary -B directory, are not
convenient.)
Please consider adding an option to the driver, akin to -Wl... to allow
overriding of the ld binary being invoked. Perhaps: gcc -Wl=/bin/ld.gold
(and similar options for -Wa=, -Wp= could make sense).
More information about the Gcc-bugs
mailing list