2012-11-27 24 views
10

Tôi đang cố gắng định cấu hình GCC 4.7.2 nhưng không thành công với configure: error: Unable to find a usable PPLGCC 4.7.2 yêu cầu ppl?

Tôi đã xem GCC prerequisites page và PPL không được đề cập ở bất kỳ đâu.

Tôi đang sử dụng CLooG 0.17.0, trong đó sử dụng ISL, và như vậy không còn đòi hỏi PPL (như xa như tôi có thể nói)

Có một số yêu cầu khác về PPL trong GCC có nghĩa là tôi vẫn cần PPL, hoặc sao tôi thiếu một số cờ từ dòng configure của mình?

tôi đi qua các tùy chọn sau đây để configure:

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

Để hoàn chỉnh, đầy đủ dòng cấu hình của tôi là như sau:

./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 

Cập nhật:

Để thử làm cho phía trước tiến bộ tôi quyết định thêm PPL vào danh sách cài đặt của tôi, và thêm --with-ppl=$PREFIX vào dòng cấu hình của tôi.

Cấu hình vẫn không thành công với configure: error: Unable to find a usable PPL

Có vẻ như đây là một lỗi trong configure kịch bản: Cấu hình thất bại nếu PPL_MINOR_VERSION < 11

Với phiên bản mới nhất PPL_MINOR_VERSION=0 (và PPL_MAJOR_VERSION=1)

+0

Bạn đã xây dựng và cài đặt ISL chưa? Nó có thể được rằng nó đang tìm một ISL cũ mà cần PPL? Tôi chưa (chưa) chạy vào vấn đề; Tôi vẫn đang sử dụng GCC 4.7.1 mà không có các thành phần ISL và CLooG. –

+0

Tôi đã cài đặt phiên bản isl mới nhất (và bắt buộc) - 10.0. Nó cũng là isl duy nhất có sẵn trong vị trí '--with-isl' /' $ PREFIX' của tôi –

+1

Tôi đề nghị hỏi về [email protected] –

Trả lời

8

Trang GCC Điều kiện tiên quyết nhảy súng và đang hiển thị các điều kiện tiên quyết cho GCC 4.8.

GCC 4.7.2 vẫn sử dụng PPL thay vì ISL, bằng chứng là thiếu --with-isl=PATH trong đầu ra của configure:

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 

Nó không may rằng họ không duy trì trang điều kiện tiên quyết cho các phiên bản trước 4.8 .

Các vấn đề liên quan