我刚刚在我的home/myname/gcc-4.9目录中安装了gcc4.9,我执行了以下操作:
1. cd /home/myname/gcc-source (where i have to run the config script)
2. ./configure --prefix=/home/myname/gcc-4.9 (and flags)
3. make && make install
4. now all the lib, bin, include etc folders are in /home/myname/gcc-4.9 directory.我不小心在/home/myname/gcc-source/目录中做了一个清理,它开始删除了很多被创建的文件。
我的gcc还能工作吗?我没有看到从/home/myname/gcc-4.9文件夹中删除的任何文件。
或者我应该这样做。/重新配置并制作&& make?
发布于 2014-05-20 19:06:13
我的gcc还能工作吗?
是!
make && make install由两部分组成:
make -编译(创建可执行文件)make install -将编译好的可执行文件复制到适当的目录中make clean取消make的结果,但不触及make install的结果(即程序保持安装)
https://stackoverflow.com/questions/23715470
复制相似问题