|
The best way to upgrade gcc on mandriva is to get the source rpm from one of the cooker mirrors and rebuild it. I'm using cinelerra 2 with gcc 4.0.1-0.2mdk and it's working fine.
To rebuild an srpm, install the rpmbuild packages from urpmi, then use this command as root:
rpmbuild --rebuild name-of-the-package.src.rpm
If it complains about missing dependencies, you can install them from urpmi.
Once the compile finishes you can find rpms ready to install in /usr/src/RPM/RPMS/i586.
|