Originally Posted by sachinkusale
How to compile GCC itself? what all are the components to do so .?
i compiled gcc 4.4.2 once for wine64 test.
simply it uses native system gcc to compile and create new compiler.
folllow the gcc install documentation carefully over here
secondly you do not have to install gcc system wide to use. for my wine64 test, i installed it on $HOME/gcc. you can configure it on configure script or later when you do make install as "make install DESTDIR=$HOME/gcc". then run configure scripts makes with CC=path/to/gcc CXX=path/to/g++
thirdly don't put languages you don't need (like java). compile is long.