https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215
--- Comment #2 from logarithmus.dev at gmail dot com --- I think that making `-fuse-ld` to accept arbitrary path to linker's binary instead of adding `mold` to the list of predefined values is a much better strategy in long term. AFAIK clang already does this. On Fri, 2021-06-25 at 20:28 +0000, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 > > --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- > I think you should be able to build GCC with --with-ld=/path/to/mold > you just > can't select it later using -fuse-ld >