(merge from head) Change to using the stable "-dumpversion" and "-dumpmachine" options of GCC to autoconfigure the toolset.