https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64419
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is a FAQ: https://gcc.gnu.org/wiki/FAQ#configure_suffix Most search engines should be able to direct you straight to that page if you search for the error. Also, don't use ./configure as explained at https://gcc.gnu.org/wiki/FAQ#configure See https://gcc.gnu.org/wiki/InstallingGCC Basically, read the docs.