https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Arsen Arsenović from comment #6) > yes, that seems doable but I am curious about why the flag propagation via > export is necessary. would each configure not already have the appropriate > flags set? Exporting say CC or CXX to the host CC/CXX in stage1 and previous-stage/xgcc -B previous-stage/ and similar is obviously required, otherwise bootstrap wouldn't work at all. And various config/*.mk amend various other make variables in various different stages as needed.