Prerequisites for GCC - GNU Project - Free Software Foundation (FSF)
GCC requires that various tools and packages be available for use in the build procedure. Modifying GCC sources requires additional tools described below. Tools/packages necessary for building GCC ISO C++98 compiler Necessary to bootstrap GCC, although .....