我的意思是从源代码安装。作者: liaoya 时间: 2004-02-21 22:40 标题: linux下如果原来没有gcc,怎么从源代码安装? 蛋是要鸡生的,所以电脑上没有gcc拿什么编译gcc呢?作者: Linux@初学者 时间: 2004-02-21 23:23 标题: linux下如果原来没有gcc,怎么从源代码安装? RPM升级安装吧作者: reer 时间: 2004-02-22 09:52 标题: linux下如果原来没有gcc,怎么从源代码安装? 从GCC源代码的"INSTALL"目录下的index.html里看到这么一句话:
Please note that GCC does not support make uninstall and probably won't do so in the near future as this would open a can of worms. Instead, we suggest that you install GCC into a directory of its own and simply remove that directory when you do not need that specific version of GCC any longer, and, if shared libraries are installed there as well, no more binaries exist that use them.
意思是说因为担心会出很多bugs,所以GCC不支持“make uninstall”,而且还说以后大概也不会支持。他们建议删除原来的GCC安装的方法是:删除原来的整个GCC安装目录,这样原来的和GCC相关的共享库也就不会用到了。