"If so,is that mean i can download and install a rpm package which is gcc 3.2.7 compiled no matter it is for Fedora core 1?"
As a general rule, yes. If the rpm is created on SuSE you may also have the problem that the file structure is different. SuSE places all of the window managers (Gnome, KDE, etc.) in /opt and Fedora, Mandrake, and Red Hat place them in /usr. But yes, I have used Red Hat and Mandrake rpms on SuSE. I haven't tried SuSE or Mandrake on Fedora since I switched to Fedora.
As to gcc versions, as a general rule, something compiled on an earlier version of gcc than you are using will probably work on your system. Something compiled on a later version of gcc might work on your system.
In the last year I have gotten away from "foriegn" rpms because I have started using checkinstall.
http://asic-linux.com.mx/~izto/checkinstall/
Checkinstall is a way to change a tarball into a rpm. Normally you compile a tarball with:
./configure
make
make install
With checkinstall the procedure becomes:
./configure
make
checkinstall
and checkinstall creates a rpm package for you. Then you install the rpm package and it appears in your rpm database.
I have used rpm to create several rpm packages which do not come with Fedora:
http://users.rcn.com/srstites/rpm.we...edora.rpm.html
Note that when I created kdeadmin I had to use ./configure parameters to set up the compile the Fedora way instead of the standard way that is used by SuSE.
These rpms work on Fedora and Red Hat 9. They might work on Red Hat 8. Maybe so, maybe not. But the point is that you can download the source tarball from the developer's web site, compile the programs on your own system, and use checkinstall to create a rpm that is absolutely compatible with your system. Once you start doing this you are absolutely independent of Red Hat. You can read Linux Today every day to keep up with security updates and download the tarballs and install them yourself.
http://linuxtoday.com/
___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeB....home.page.html
Steve Stites