creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. This happens with any program.
Look at config.log in the top level directory. You probably need to install some other packages like glibc-devel in order to compile.
This is confirmed on more then two machines, it seems to happen when you don't install the development packages at inital install. After installed gcc, cpp, ecgs or anything like that it give the "C compiler cannot create executables" error. even when you install all at once like "rpm -i egcs*.rpm binutils*.rpm cpp*.rpm"
After installing Kernel headers and glibc-devel, that fixed the problem