So which Linux are you using ?
Somewhere in the gcc documentation, the "Linux From Scratch"
method is recommended, for building gcc.
Please see LFS-BOOK-6.3-HTML.tar.bz2 for gcc-4.1.x build :
http://www.filewatcher.com/m/LFS-BOO...57146.0.0.html
'mpfr', 'gmp' : no need to have them installed, the unpacked
tarballs inside 'gcc-4.1x/' will do, AFAIK.
A build directory outside 'gcc-4.1x/' is required for best result.
A usable configure command for 'pass1' would be
Code:
../gcc-4.1.2/configure --prefix=<my-new-gcc-pass1> --disable-nls --enable-shared --enable-languages=c
( You will have to call the resultant 'gcc' with 'CC=...',
when doing pass 2 )
.....