I've tried to compile a little program, using c++, gcc... but there was a
In file included from /usr/include/g++-2/iostream.h:31,
/usr/include/g++-2/streambuf.h:36: libio.h: file not found.
i've realized that libio.h does not exist, and stdio.h too.
Do you have the glibc-devel package installed?
The egcs-1.1.2-25 package and later require the glibc-devel package.
Of course there is no need to upgrade to egcs-1.1.2-25 - just install