https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80836
--- Comment #3 from René J.V. Bertin <rjvbertin at gmail dot com> --- A bit complicated, no? Also, how does one get binaries built with the resulting compilers to use the corresponding runtime libraries (libstdc++, libgfortran, ...)? There should be a configure option for that too, IMHO, possibly even a single option. Sidewise related: I configured with `--with-libdir=/opt/local/lib/gcc7`, thinking I'd get the runtime libraries installed there. This is the case on Mac, but on Linux I discovered libstdc++ and family in /opt/local/lib/lib64 instead. That kind of surprise doesn't make it easy for the end-user to add an explicit rpath option.