For fun, I compiled and installed gcc 4.7.2 in ~/build, which contains bin, doc, lib, include, man, share, et al. directories, all of which are added to the appropriate environment variables.
Now I want to remove it, so it can stop shadowing my v4.4.7 /usr/bin/gcc with all its associated libraries and whatnot (whatever they may be), but, of course, the GCC make files
offer no uninstall target, and
find ~/bin -iname "\*gcc*" turns up quite a bit.
Is my only option to set the prefix to some temporary directory, run the installation again, then use than new set of files as a guide for deleting the old ones? Or is there a better way?
This is on Springdale Linux 6.4 (Pisa), kernel 2.6.32-358.11.1.el6.x86_64, and I do not have root access.