I use Redhat null beta, and I compile kernel with gcc3, and then instaled Nvidia drivers.
I use nvidia srpm, and make rpm with this command:
rpmbuild --rebuild *.srpm
The compiled binaries are in /usr/src/redhat/RPMS/i386 and they work for me
Check if you installed gcc-2.96.
srpm use cc instead of gcc
cc -v?? and you will now your compiler version