On 3/16/22 14:19, Peter Maydell wrote:
I'm not sure why we're passing this explicitly to the linker anyway, though.
According to the commit message the idea is to add libc++ automatically when you have C++ sources, libgfortran when you have Fortran sources etc. independent of the language that you're using for the final link.
In other words it removes the need to specify a linker driver for mixed-language programs (and allows some other combinations such as C++ and Fortran together).
It would be better if it worked though... Paolo