首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GCC 4.7.2需要ppl?

GCC 4.7.2需要ppl?
EN

Stack Overflow用户
提问于 2012-11-27 04:32:41
回答 1查看 4.5K关注 0票数 11

我正在尝试配置GCC 4.7.2,但是它在configure: error: Unable to find a usable PPL中失败了

我在GCC prerequisites page上看过,而且PPL在任何地方都没有提到。

我使用的是CLooG 0.17.0,它使用ISL,因此不再需要PPL (据我所知)

GCC对PPL是否还有其他要求,这意味着我仍然需要PPL,还是我的configure线上缺少了一些旗子?

我将以下选项传递给configure

  • --enable-cloog-backend=isl
  • --with-cloog=$PREFIX
  • --with-isl=$PREFIX
  • --with-gmp=$PREFIX
  • --with-mpfr=$PREFIX
  • --with-mpc=$PREFIX

为了完整起见,我的完整配置行如下:

代码语言:javascript
复制
./configure --prefix=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --disable-multilib --enable-cloog-backend=isl \
   --with-mpc=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --with-mpfr=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --with-gmp=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --with-isl=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --with-cloog=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \
   --build=x86_64-suse-linux --with-pkgversion='SIG build 11/27/2012' \
   --with-gxx-include-dir=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64/include/c++/4.7.2 \
   --enable-version-specific-runtime-libs

更新:

为了尝试向前推进,我决定将PPL添加到我的安装列表中,并将--with-ppl=$PREFIX添加到配置行中。

配置仍然在configure: error: Unable to find a usable PPL中失败

这似乎是configure脚本中的一个错误:如果PPL_MINOR_VERSION < 11配置失败

使用最新版本的PPL_MINOR_VERSION=0 (和PPL_MAJOR_VERSION=1)

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-03-21 01:03:44

GCC先决条件页面跳过了枪,显示了GCC 4.8的必备条件。

GCC 4.7.2仍然使用PPL而不是ISL,这从--with-isl=PATH输出中缺少configure就可以看出。

代码语言:javascript
复制
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-build-libsubdir=DIR  Directory where to find libraries for build system
  --with-mpc=PATH         specify prefix directory for installed MPC package.
                          Equivalent to --with-mpc-include=PATH/include plus
                          --with-mpc-lib=PATH/lib
  --with-mpc-include=PATH specify directory for installed MPC include files
  --with-mpc-lib=PATH     specify directory for the installed MPC library
  --with-mpfr-dir=PATH    this option has been REMOVED
  --with-mpfr=PATH        specify prefix directory for installed MPFR package.
                          Equivalent to --with-mpfr-include=PATH/include plus
                          --with-mpfr-lib=PATH/lib
  --with-mpfr-include=PATH
                          specify directory for installed MPFR include files
  --with-mpfr-lib=PATH    specify directory for the installed MPFR library
  --with-gmp-dir=PATH     this option has been REMOVED
  --with-gmp=PATH         specify prefix directory for the installed GMP
                          package. Equivalent to
                          --with-gmp-include=PATH/include plus
                          --with-gmp-lib=PATH/lib
  --with-gmp-include=PATH specify directory for installed GMP include files
  --with-gmp-lib=PATH     specify directory for the installed GMP library
  --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
                          linking with PPL
  --with-stage1-ldflags=FLAGS
                          linker flags for stage1
  --with-stage1-libs=LIBS libraries for stage1
  --with-boot-libs=LIBS   libraries for stage2 and later
  --with-boot-ldflags=FLAGS
                          linker flags for stage2 and later
  --with-ppl=PATH         specify prefix directory for the installed PPL
                          package. Equivalent to
                          --with-ppl-include=PATH/include plus
                          --with-ppl-lib=PATH/lib
  --with-ppl-include=PATH specify directory for installed PPL include files
  --with-ppl-lib=PATH     specify directory for the installed PPL library
  --with-cloog=PATH       Specify prefix directory for the installed CLooG-PPL
                          package. Equivalent to
                          --with-cloog-include=PATH/include plus
                          --with-cloog-lib=PATH/lib
  --with-cloog-include=PATH
                          Specify directory for installed CLooG include files
  --with-cloog-lib=PATH   Specify the directory for the installed CLooG
                          library
  --with-build-sysroot=SYSROOT
                          use sysroot as the system root during the build
  --with-debug-prefix-map='A=B C=D ...'
                          map A to B, C to D ... in debug information
  --with-build-config='NAME NAME2...'
                          use config/NAME.mk build configuration
  --with-build-time-tools=PATH
                          use given path to find target tools during the build

不幸的是,他们没有为4.8之前的版本维护先决条件页面。

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13577436

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档