On Sun, 28 Apr 2002, [iso-8859-1] Kjetil Tjensvold wrote: > How do I completely remove gcc-2.96-98 from my rh 7.2 > system.I want to install gcc-3.0.4 due to compile > MPlayer.As known this program will not compile with > gcc-2.96-98 compiler. I dont want any files containing > the old version number hang around. I want it > completely removed. I have tried to force an > installation of gcc-3.04 but failed due to > dependencies to cpp-2.96-98 and kernel 2.4.7-10. But I > dont use that kernel version. I use 2.4.18.
Don't do this. Instead, install the gcc3 RPMs. They live nicely alongside the regualr gcc-2.96-98 rpms. [mjs@paladin mjs]$ rpm -qa | grep gcc gcc-c++-2.96-98 gcc3-3.0.4-1 gcc-2.96-98 libgcc-3.0.4-1 gcc3-c++-3.0.4-1 gcc-g77-2.96-98 gcc-objc-2.96-98 Then set your complier to be gcc3 instead of gcc. This is usually done in a makefile by defining the CC macro. (I don't know how mplayer builds, but if that's not already there, you will need to replace occurrences of gcc with gcc3.) -- Matthew Saltzman Clemson University Math Sciences [EMAIL PROTECTED] http://www.math.clemson.edu/~mjs _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list