举头望明月安心搞科研 2015-12-11 07:30 采纳率: 0%
浏览 3490
已结题

MinGw编译GMP库时出错,跪求大神解答

出错截图

Config.log如下:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 6.1.0, which was
generated by GNU Autoconf 2.69.

Invocation command line was

$ ./configure CPPGLAGS=-D_USE_MINGW_ANSI_STDIO=0--enable-static --disable-shared

---------

Platform.
##

---------

hostname = Mr-Chen

uname -m = i686

uname -r = 1.0.17(0.48/3/2)

uname -s = MINGW32_NT-6.1

uname -v = 2011-04-24 23:39

/usr/bin/
uname -p = unknown
/bin/
uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /d/ActivePerl/site/bin
PATH: /d/ActivePerl/bin
PATH: /c/Program Files (x86)/NVIDIA Corporation/PhysX/Common
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: %QUARTUS_ROOTDIR%/bin
PATH: /c/Program Files (x86)/Common Files/Ulead Systems/MPEG
PATH: /c/Program Files (x86)/Microsoft SQL Server/80/Tools/Binn/
PATH: /d/Latex/CTEX/UserData/miktex/bin
PATH: /d/Latex/CTEX/MiKTeX/miktex/bin
PATH: /d/Latex/CTEX/CTeX/ctex/bin
PATH: /d/Latex/CTEX/CTeX/cct/bin
PATH: /d/Latex/CTEX/CTeX/ty/bin
PATH: /d/Latex/CTEX/Ghostscript/gs9.05/bin
PATH: /d/Latex/CTEX/GSview/gsview
PATH: /d/Latex/CTEX/WinEdt
PATH: /c/Program Files/Microsoft SQL Server/110/Tools/Binn/
PATH: /c/MinGW/bin/
PATH: /d/ActivePerl/site/bin/
PATH: /d/ActivePerl/bin/
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/100/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/100/DTS/Binn/
PATH: /d/VS2010/VC/bin/
PATH: /d/MinGw/bin

-----------

Core tests.

-----------

configure:3055: checking build system type
configure:3069: result: sandybridge-pc-mingw32
configure:3089: checking host system type
configure:3102: result: sandybridge-pc-mingw32
configure:3139: checking for a BSD-compatible install
configure:3207: result: /bin/install -c
configure:3218: checking whether build environment is sane
configure:3273: result: yes
configure:3424: checking for a thread-safe mkdir -p
configure:3463: result: /bin/mkdir -p
configure:3470: checking for gawk
configure:3486: found /bin/gawk
configure:3497: result: gawk
configure:3508: checking whether make sets $(MAKE)
configure:3530: result: yes
configure:3559: checking whether make supports nested variables
configure:3576: result: yes
configure:3705: checking whether to enable maintainer-specific portions of Makefiles
configure:3714: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=64 x32 32
cclist=gcc icc cc
configure:5749: gcc 2>&1 | grep xlc >/dev/null
configure:5752: $? = 1
configure:5806: checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64
Test compile:
configure:5820: gcc -O2 -pedantic -fomit-frame-pointer -m64 conftest.c >&5
conftest.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
configure:5823: $? = 1
failed program was:

int main () { return 0; }
configure:6909: result: no
configure:5727: cc -c conftest.c >&5
configure:5730: $? = 0
configure:5733: checking whether cc is gcc
configure:5735: result: yes
configure:5749: cc 2>&1 | grep xlc >/dev/null
configure:5752: $? = 1
configure:5806: checking compiler cc -O2 -pedantic -fomit-frame-pointer -m64
Test compile:
configure:5820: cc -O2 -pedantic -fomit-frame-pointer -m64 conftest.c >&5
conftest.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
configure:5823: $? = 1
failed program was:

int main () { return 0; }
configure:6909: result: no
configure:5749: gcc 2>&1 | grep xlc >/dev/null
configure:5752: $? = 1
configure:5806: checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32
Test compile:
configure:5820: gcc -O2 -pedantic -fomit-frame-pointer -mx32 conftest.c >&5
cc1.exe: error: unrecognized command line option '-mx32'
configure:5823: $? = 1
failed program was:

int main () { return 0; }
configure:6909: result: no
configure:5727: cc -c conftest.c >&5
configure:5730: $? = 0
configure:5733: checking whether cc is gcc
configure:5735: result: yes
configure:5749: cc 2>&1 | grep xlc >/dev/null
configure:5752: $? = 1
configure:5806: checking compiler cc -O2 -pedantic -fomit-frame-pointer -mx32
Test compile:
configure:5820: cc -O2 -pedantic -fomit-frame-pointer -mx32 conftest.c >&5
cc1.exe: error: unrecognized command line option '-mx32'
configure:5823: $? = 1
failed program was:

int main () { return 0; }
configure:6909: result: no
configure:5749: gcc 2>&1 | grep xlc >/dev/null
configure:5752: $? = 1
configure:5806: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer
Test compile:
configure:5820: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:5823: $? = 0
configure:5828: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 5829: ./a.out: No such file or directory
./configure: line 5829: ./b.out: No such file or directory
configure:5831: $? = 0
Test compile: function pointer return
configure:5874: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:5877: $? = 0
configure:5882: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 5883: ./a.out: No such file or directory
./configure: line 5883: ./b.out: No such file or directory
configure:5885: $? = 0
Test compile: cmov instruction
configure:5930: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:5933: $? = 0
configure:5938: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 5939: ./a.out: No such file or directory
./configure: line 5939: ./b.out: No such file or directory
configure:5941: $? = 0
Test compile: double -> ulong conversion
configure:5987: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:5990: $? = 0
configure:5995: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 5996: ./a.out: No such file or directory
./configure: line 5996: ./b.out: No such file or directory
configure:5998: $? = 0
Test compile: double negation
configure:6042: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6045: $? = 0
configure:6050: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6051: ./a.out: No such file or directory
./configure: line 6051: ./b.out: No such file or directory
configure:6053: $? = 0
Test compile: double -> float conversion
configure:6098: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6101: $? = 0
configure:6106: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6107: ./a.out: No such file or directory
./configure: line 6107: ./b.out: No such file or directory
configure:6109: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:6183: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6186: $? = 0
configure:6191: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6192: ./a.out: No such file or directory
./configure: line 6192: ./b.out: No such file or directory
configure:6194: $? = 0
Test compile: __builtin_alloca availability
configure:6234: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../libmingw32.a(main.o): In function main':
C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to
WinMain@16'
collect2: ld returned 1 exit status
configure:6237: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:6358: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6361: $? = 0
configure:6366: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6367: ./a.out: No such file or directory
./configure: line 6367: ./b.out: No such file or directory
configure:6369: $? = 0
Test compile: long long reliability test 1
configure:6423: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
conftest.c:6:23: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:6426: $? = 0
configure:6431: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6432: ./a.out: No such file or directory
./configure: line 6432: ./b.out: No such file or directory
configure:6434: $? = 0
Test compile: long long reliability test 2
configure:6484: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
conftest.c: In function 'f':
conftest.c:7:26: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:6487: $? = 0
configure:6492: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6493: ./a.out: No such file or directory
./configure: line 6493: ./b.out: No such file or directory
configure:6495: $? = 0
Test compile: freebsd hacked gcc
configure:6545: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6548: $? = 0
configure:6553: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6554: ./a.out: No such file or directory
./configure: line 6554: ./b.out: No such file or directory
configure:6556: $? = 0
Test compile: mpn_lshift_com optimization
configure:6644: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6647: $? = 0
configure:6652: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6653: ./a.out: No such file or directory
./configure: line 6653: ./b.out: No such file or directory
configure:6655: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:6752: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5
configure:6755: $? = 0
configure:6760: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 6761: ./a.out: No such file or directory
./configure: line 6761: ./b.out: No such file or directory
configure:6763: $? = 0
configure:6909: result: yes
configure: testlist sizeof-long-4
configure:7084: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4
configure:7097: gcc -m32 -O2 -pedantic -fomit-frame-pointer -c conftest.c >&5
configure:7100: $? = 0
configure:7105: result: yes
configure:7423: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=sandybridge
Test compile:
configure:7437: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=sandybridge conftest.c >&5
conftest.c:1:0: error: bad value (sandybridge) for -mtune= switch
configure:7440: $? = 1
failed program was:

int main () { return 0; }
configure:8526: result: no
configure:7423: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7
Test compile:
configure:7437: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7440: $? = 0
configure:7445: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7446: ./a.out: No such file or directory
./configure: line 7446: ./b.out: No such file or directory
configure:7448: $? = 0
Test compile: function pointer return
configure:7491: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7494: $? = 0
configure:7499: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7500: ./a.out: No such file or directory
./configure: line 7500: ./b.out: No such file or directory
configure:7502: $? = 0
Test compile: cmov instruction
configure:7547: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7550: $? = 0
configure:7555: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7556: ./a.out: No such file or directory
./configure: line 7556: ./b.out: No such file or directory
configure:7558: $? = 0
Test compile: double -> ulong conversion
configure:7604: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7607: $? = 0
configure:7612: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7613: ./a.out: No such file or directory
./configure: line 7613: ./b.out: No such file or directory
configure:7615: $? = 0
Test compile: double negation
configure:7659: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7662: $? = 0
configure:7667: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7668: ./a.out: No such file or directory
./configure: line 7668: ./b.out: No such file or directory
configure:7670: $? = 0
Test compile: double -> float conversion
configure:7715: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7718: $? = 0
configure:7723: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7724: ./a.out: No such file or directory
./configure: line 7724: ./b.out: No such file or directory
configure:7726: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:7800: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7803: $? = 0
configure:7808: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7809: ./a.out: No such file or directory
./configure: line 7809: ./b.out: No such file or directory
configure:7811: $? = 0
Test compile: __builtin_alloca availability
configure:7851: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../libmingw32.a(main.o): In function main':
C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to
WinMain@16'
collect2: ld returned 1 exit status
configure:7854: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:7975: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:7978: $? = 0
configure:7983: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7984: ./a.out: No such file or directory
./configure: line 7984: ./b.out: No such file or directory
configure:7986: $? = 0
Test compile: long long reliability test 1
configure:8040: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
conftest.c:6:23: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:8043: $? = 0
configure:8048: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8049: ./a.out: No such file or directory
./configure: line 8049: ./b.out: No such file or directory
configure:8051: $? = 0
Test compile: long long reliability test 2
configure:8101: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
conftest.c: In function 'f':
conftest.c:7:26: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:8104: $? = 0
configure:8109: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8110: ./a.out: No such file or directory
./configure: line 8110: ./b.out: No such file or directory
configure:8112: $? = 0
Test compile: freebsd hacked gcc
configure:8162: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:8165: $? = 0
configure:8170: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8171: ./a.out: No such file or directory
./configure: line 8171: ./b.out: No such file or directory
configure:8173: $? = 0
Test compile: mpn_lshift_com optimization
configure:8261: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:8264: $? = 0
configure:8269: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8270: ./a.out: No such file or directory
./configure: line 8270: ./b.out: No such file or directory
configure:8272: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:8369: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 conftest.c >&5
configure:8372: $? = 0
configure:8377: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8378: ./a.out: No such file or directory
./configure: line 8378: ./b.out: No such file or directory
configure:8380: $? = 0
configure:8526: result: yes
configure:7423: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=sandybridge
Test compile:
configure:7437: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=sandybridge conftest.c >&5
conftest.c:1:0: error: bad value (sandybridge) for -march= switch
configure:7440: $? = 1
failed program was:

int main () { return 0; }
configure:8526: result: no
configure:7423: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7
Test compile:
configure:7437: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7440: $? = 0
configure:7445: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7446: ./a.out: No such file or directory
./configure: line 7446: ./b.out: No such file or directory
configure:7448: $? = 0
Test compile: function pointer return
configure:7491: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7494: $? = 0
configure:7499: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7500: ./a.out: No such file or directory
./configure: line 7500: ./b.out: No such file or directory
configure:7502: $? = 0
Test compile: cmov instruction
configure:7547: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7550: $? = 0
configure:7555: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7556: ./a.out: No such file or directory
./configure: line 7556: ./b.out: No such file or directory
configure:7558: $? = 0
Test compile: double -> ulong conversion
configure:7604: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7607: $? = 0
configure:7612: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7613: ./a.out: No such file or directory
./configure: line 7613: ./b.out: No such file or directory
configure:7615: $? = 0
Test compile: double negation
configure:7659: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7662: $? = 0
configure:7667: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7668: ./a.out: No such file or directory
./configure: line 7668: ./b.out: No such file or directory
configure:7670: $? = 0
Test compile: double -> float conversion
configure:7715: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7718: $? = 0
configure:7723: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7724: ./a.out: No such file or directory
./configure: line 7724: ./b.out: No such file or directory
configure:7726: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:7800: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7803: $? = 0
configure:7808: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7809: ./a.out: No such file or directory
./configure: line 7809: ./b.out: No such file or directory
configure:7811: $? = 0
Test compile: __builtin_alloca availability
configure:7851: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../libmingw32.a(main.o): In function main':
C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to
WinMain@16'
collect2: ld returned 1 exit status
configure:7854: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:7975: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:7978: $? = 0
configure:7983: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 7984: ./a.out: No such file or directory
./configure: line 7984: ./b.out: No such file or directory
configure:7986: $? = 0
Test compile: long long reliability test 1
configure:8040: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
conftest.c:6:23: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:8043: $? = 0
configure:8048: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8049: ./a.out: No such file or directory
./configure: line 8049: ./b.out: No such file or directory
configure:8051: $? = 0
Test compile: long long reliability test 2
configure:8101: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
conftest.c: In function 'f':
conftest.c:7:26: warning: ISO C90 does not support 'long long' [-Wlong-long]
configure:8104: $? = 0
configure:8109: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8110: ./a.out: No such file or directory
./configure: line 8110: ./b.out: No such file or directory
configure:8112: $? = 0
Test compile: freebsd hacked gcc
configure:8162: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:8165: $? = 0
configure:8170: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8171: ./a.out: No such file or directory
./configure: line 8171: ./b.out: No such file or directory
configure:8173: $? = 0
Test compile: mpn_lshift_com optimization
configure:8261: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:8264: $? = 0
configure:8269: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8270: ./a.out: No such file or directory
./configure: line 8270: ./b.out: No such file or directory
configure:8272: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:8369: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 conftest.c >&5
configure:8372: $? = 0
configure:8377: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 8378: ./a.out: No such file or directory
./configure: line 8378: ./b.out: No such file or directory
configure:8380: $? = 0
configure:8526: result: yes
configure:7423: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 -mno-cygwin
Test compile:
configure:7437: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 -mno-cygwin conftest.c >&5
cc1.exe: error: unrecognized command line option '-mno-cygwin'
configure:7440: $? = 1
failed program was:

int main () { return 0; }
configure:8526: result: no
configure:8679: checking for gcc
configure:8706: result: gcc
configure:8935: checking for C compiler version
configure:8944: gcc --version >&5
gcc.exe (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:8955: $? = 0
configure:8944: gcc -v >&5
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:8955: $? = 0
configure:8944: gcc -V >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:8955: $? = 1
configure:8944: gcc -qversion >&5
gcc.exe: error: unrecognized option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:8955: $? = 1
configure:8975: checking whether the C compiler works
configure:8997: gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 D:\gmp-6.1.0 conftest.c >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find D:\gmp-6.1.0: Permission denied
collect2: ld returned 1 exit status
configure:9001: $? = 1
configure:9039: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "6.1.0"
| #define PACKAGE_STRING "GNU MP 6.1.0"
| #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
| #define PACKAGE "gmp"
| #define VERSION "6.1.0"
| #define WANT_ASSEMBLY 1
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_sandybridge 1
| #define HOST_DOS64 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:9044: error: in /d/gmp-6.1.0':
configure:9046: error: C compiler cannot create executables
See
config.log' for more details

----------------

Cache variables.

----------------

ac_cv_build=sandybridge-pc-mingw32
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='D:\gmp-6.1.0'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=sandybridge-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

-----------------

Output variables.

-----------------

ABI='32'
ACLOCAL='${SHELL} /d/gmp-6.1.0/missing aclocal-1.15'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
ASMFLAGS=''
AUTOCONF='${SHELL} /d/gmp-6.1.0/missing autoconf'
AUTOHEADER='${SHELL} /d/gmp-6.1.0/missing autoheader'
AUTOMAKE='${SHELL} /d/gmp-6.1.0/missing automake-1.15'
AWK='gawk'
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC='gcc'
CCAS=''
CC_FOR_BUILD=''
CFLAGS='-m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7'
CPP=''
CPPFLAGS=''
CPP_FOR_BUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB='/* #undef LONG_LONG_LIMB */'
DEFS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
FGREP=''
GMP_LDFLAGS=''
GMP_LIMB_BITS=''
GMP_NAIL_BITS='0'
GREP=''
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='D:\gmp-6.1.0'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /d/gmp-6.1.0/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 6.1.0'
PACKAGE_TARNAME='gmp'
PACKAGE_URL='http://www.gnu.org/software/gmp/'
PACKAGE_VERSION='6.1.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_LIBS=''
TUNE_SQR_OBJ=''
U_FOR_BUILD=''
VERSION='6.1.0'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WITH_READLINE_01=''
YACC=''
YFLAGS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am
_EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__isrc=''
am__leading_dot='.'
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='sandybridge-pc-mingw32'
build_alias=''
build_cpu='sandybridge'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gmp_srclinks=''
host='sandybridge-pc-mingw32'
host_alias=''
host_cpu='sandybridge'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /d/gmp-6.1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
mpn_objects=''
mpn_objs_in_libgmp=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "6.1.0"
#define PACKAGE_STRING "GNU MP 6.1.0"
#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
#define PACKAGE "gmp"
#define VERSION "6.1.0"
#define WANT_ASSEMBLY 1
#define WANT_FFT 1
#define HAVE_HOST_CPU_sandybridge 1
#define HOST_DOS64 1
#define HAVE_SPEED_CYCLECOUNTER 2
#define HAVE_CALLING_CONVENTIONS 1

configure: exit 77

  • 写回答

3条回答 默认 最新

  • oyljerry 2015-12-11 15:25
    关注

    你这环境的gcc编译器 能够正确工作吗

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题