I've tried to compile a little program, using c++, gcc... but there was a problem: In file included from /usr/include/g++-2/iostream.h:31, from dateio.c:1: /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 glibc-devel.