linux - 安装 gcc 4.2.4

标签 linux gcc installation makefile

我想在 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/

相关文章:

linux - 读取文本文件内部并将每一列定义为新变量

linux - 如何通过选择打开给定位置的鹦鹉螺

gcc - 如何更改GCC编译器的目标目录?

linux - 如何在 centos 中为 devVm 设置 ipmitool?

c - 为什么GCC初始化为0时不分配静态变量

二进制协议(protocol)的 C 和内存对齐

.net - 为 Outlook 2010 加载项创 build 置

Windows Python2.7安装mysqldb报错

java - Solaris 10 64 位上的 Jenkins

ruby - 有什么方法可以在不更改 Ruby 中的 atime 的情况下获取目录条目?