The package 'gcc-c++-4.1.2-33.i386.rpm' provides no file
by name 'gcc' but '/usr/bin/c++ , for c++ code only.
For c++ I recommend 'compat-gcc-34-c++'
I'd guess, that a modified gcc-4.1.2-33.i386.rpm from Fedora 8
will work in Fedora 10, works with no problems in Fedora 9.
EDIT: Suse gcc41 works. See link below. Post #6.
'cpp-4.1.2-33.i386.rpm' is also needed.
The method is to unpack the rpm's, remove conflicting files,
rename files in /usr/bin, and the most important before use :
# 'chmod -R 0755 <everything>'
The modified result can be copied into Fedora 10, or repacked
to be installed with # 'rpm -Uvh <package> <package>'
I made 2 rpm's, compat41-gcc-4.1.2-33 i386 ( 250 kB ) and
compat41-cpp-4.1.2-33 i386 ( 2.4 MB )
EDIT : For gcc / g++ 4.1 : Use the suse gcc41 packages. Post #6.
Example command using the above :
'CC=gcc-4.1 CXX=g++34 .