gcc_install_uninstall
I want to install the latest gcc.
How do I uninstall the old one? |
Code:
removepkg gcc |
thanks willysr. i needed that kind of info too.
but... when using removepkg, you're automagically sure there are no remains of the install left on the system? I've noticed references to uninstallations in the "uninstalled-packages" directory... it would suffice to clean this directory to remove completely the traces of removed programs? what should I check to be sure? (I think this is important to know for a critical component like gcc). regards. IvanPro |
Don't do that. In order to install the latest GCC, you may have to rebuild and reinstall the entire toolkit, as described in LFS. It is the main reason why LFS is considered masochistic.
|
Well, in my case, i have never downgraded GCC or uninstall it. I only tried to upgrade (since i'm using current) and so far i didn't have any problem with it.
I think Pat has tried to make sure that uninstallation will remove all files being installed at the installation phase |
Whether the files are handled correctly is not the issue. It is that the compiler and the toolchain are closely tied together. The output from different versions of compilers can easily be incompatible too. Just don't, unless you really know what you are doing, or willing to pay the consequences.
|
All times are GMT -5. The time now is 07:28 PM. |