我正在尝试为 ARM 和 i586 架构构建跨 NG。ct-ng build
尝试编译 GCC 时失败。我已经安装了 PPL 1.0-1 版。还尝试了 0.11.2-2 版本。我不明白为什么 GCC 的配置脚本找不到 PPL,而 PPL 已经在那里了......
所有相同的结果:
...
[CFG ] checking for the correct version of gmp.h... yes
[CFG ] checking for the correct version of mpfr.h... yes
[CFG ] checking for the correct version of mpc.h... yes
[CFG ] checking for the correct version of the gmp/mpfr/mpc libraries... yes
[CFG ] checking for PWL_handle_timeout in -lpwl... yes
[CFG ] checking for version 0.11 (revision 0 or later) of PPL... no
[ERROR] configure: error: Unable to find a usable PPL. See config.log for details.
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing pass-1 core C compiler'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR] >> called from: do_cc_core_backend[scripts/build/cc/gcc.sh@343]
[ERROR] >> called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@88]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@598]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'docs/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 7:27.12)
万一这很重要,我的盒子:
uname -m x86_64
distro: archlinux
gcc -v: gcc version 4.7.1 20120721 (prerelease) (GCC)