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
redi at gcc dot gnu.org via Gcc-bugs Fri, 25 Jun 2021 13:28:08 -0700
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