我想在 linux x86_64 和 2 核 intel cpu 上安装 gcc 4.2.4,但不是默认路径。 我通过 svn 下载了代码,并使用
从构建目录进行了配置../gcc_424/configure --prefix=/scratch/user/local/gcc-424 --with-local-prefix=/scratch/user/local/include
然后在构建目录
make
当我运行时
make install
我得到了错误
/bin/sh: line 3: cd: ./fixincludes: No such file or directory
我对现在应该做什么有点迷茫,有什么帮助吗?
最佳答案
虽然未经测试(因为它相当旧),EasyBuild应该能够毫不费力地构建 GCC 4.2。 只需使用 available example easyconfigs 之一对于 GCC(非 ClooG-PPL 版本),调整版本号,然后运行指定该 easyconfig 文件的 EasyBuild 安装命令。 不需要 root 权限,EasyBuild 会处理所有讨厌的事情。
关于linux - 安装 gcc 4.2.4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9541314/