https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105941
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- If you really wanted this to be made to work, I think you'd need to use spec files. Then you could provide a spec for each supported linker. It still wouldn't be trivial, but it seems to me it's the only way to do it unless you build knowledge of each tool into the driver itself.