내가 PARI/GP를 설치하려고하고 구성 단계에서 내가 얻을 :PARI/GP와 GCC
$ ./Configure
[...]
Looking for the compilers ...
...cc is /usr/bin/cc
...gcc is /usr/local/bin/gcc
GNU compiler version 4.8.0 20120705 (experimental) (GCC)
###
### C compiler does not work. PARI/GP requires an ANSI C compiler! Aborting.
###
### Compiler was: /usr/local/bin/gcc
$ gcc --version
gcc (GCC) 4.8.0 20120705 (experimental)
설명서를 말한다 때문이 이상하다 :
"Only ANSI C and C++ compilers are supported. Choosing the GNU compiler
gcc/g++ enables the inlining of kernel routines (about 20% speedup; if you
use g++, it is a good idea to include the -fpermissive flag). If you choose
not to use gcc, the C++ version of Pari will be a little faster because of
general inlining, but can be used in library mode only with C++ programs.
We strongly recommand using gcc all the way through."
나는 또한 시도 g ++로 같은 결과를 얻었습니다.
저는 리눅스 x86_64에서 컴파일하려고합니다.
아이디어가 있으십니까? 미리 감사드립니다.
M;
힌트를 보내 주셔서 감사합니다. 이 질문은 9 개월 전에 요청되었으며 어떻게 해결했는지 기억하지 못합니다.하지만 같은 문제를 다시 발견하면 다시 돌아올 것입니다. – emepyc