[Bug driver/59321] -fuse-ld has no effect on -print-prog-name nor on --with-ld=

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 30 13:51:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59321

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-fuse-ld has no effect on   |-fuse-ld has no effect on
                   |-print-prog-name nor on     |-print-prog-name nor on
                   |--program-prefix=           |--with-ld=

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #13)
> When --program-prefix= is used to configure GCC, -fuse-ld
> doesn't work since DEFAULT_LINKER is defined.  Patch in
> comment 12 also fixes collect2.

The problem is GCC configured with --with-ld=, which sets
DEFAULT_LINKER.



More information about the Gcc-bugs mailing list