https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109460
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As I said on IRC, even GCC 4.8 passes -r through to linker invocation, but only since r9-2994 gcc -r acts effectively the same as -r -nostdlib, before that one had to use both options to avoid linking crt files, standard libraries and the like even during the relocatable link. An open question remains if mingw/cygwin supports other host compilers for stage1, like clang, icc, msvc and the like, and whether -r or -r -nostdlib works for those.