2014-11-27 10 views
0

Windows 8.1에서 Dev-cpp로 작업하는 gmp를 얻으려고합니다. 나는 msys를 설정하고 gmp를 만들려고 노력했지만 성공하지 못했습니다. 첫째, 나는 해결할 수있는 M4 오류가 있지만 지금은 몇 시간 동안 고생하고 있으며 인터넷이 많은 도움이되지 못합니다. 다음과 같은 경고 및 오류가 있습니다.msys가있는 Windows의 GMP

 
configure: WARNING: +---------------------------------------------------------- 
configure: WARNING: | Cannot determine global symbol prefix. 
configure: WARNING: | /c/Program Files (x86)/Dev-Cpp/MinGW64/bin/nm output doesn't contain a global data symbol. 
configure: WARNING: | Will proceed with no underscore. 
configure: WARNING: | If this is wrong then you'll get link errors referring 
configure: WARNING: | to ___gmpn_add_n (note three underscores). 
configure: WARNING: | In this case do a fresh build with an override, 
configure: WARNING: |  ./configure gmp_cv_asm_underscore=yes 
configure: WARNING: +---------------------------------------------------------- 
checking how to switch to read-only data section...  .section .rdata,"dr" 
checking for assembler .type directive... 
checking for assembler .size directive... 
checking for assembler local label prefix... configure: WARNING: "/c/Program Files (x86)/Dev-Cpp/MinGW64/bin/nm" failure 
configure: WARNING: cannot determine local label, using default L 
L 
checking for assembler byte directive... .byte 
checking how to define a 32-bit word... ./configure: line 25284: /c/Program: No such file or directory 
./configure: line 25284: /c/Program: No such file or directory 
configure: error: cannot determine how to define a 32-bit word 
configure: WARNING: cache variable lt_cv_path_LD contains a newline 

주어진 도움에 대해 정말 감사드립니다. 오류에

답변

1

살펴 보자 :

 
checking for assembler local label prefix... configure: WARNING: "/c/Program Files (x86)/Dev-Cpp/MinGW64/bin/nm" failure 
configure: WARNING: cannot determine local label, using default L 
L 
checking for assembler byte directive... .byte 
checking how to define a 32-bit word... ./configure: line 25284: /c/Program: No such file or directory 
./configure: line 25284: /c/Program: No such file or directory 

특히 /c/Program: No such file or directory. 이것은 configure가 Mingw가 공간을 포함하고있는 경로에 설치되었다는 사실에 만족하지 못하는 것 같습니다. 그래서 제 생각에 가장 깨끗한 방법은 공백이없는 경로에 컴파일러를 설치하는 방법을 찾는 것입니다.

+1

마지막으로 작동합니다. 나는 문제를 연구하는 데 몇 시간이 걸렸다는 것을 믿을 수 없다. 중요한 것은 그 공간이었다 ... 고마워. – eilchner