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

出错截图

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个回答

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

打开你的config.log,贴出来看看。提示是配置错误。

cq348020633
举头望明月安心搞科研 求大神帮忙看看
4 年多之前 回复

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


Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
主工程是MSVC2010编译的,使用MinGW编译的库却会报错?

我用Qt_4_8_0_for_Desktop_-_MinGW编译了一个动态库:qextserialportd.dll, 然后我的主工程使用qextserialportd.dll: pro文件中LIBS += ../LeadEDM/SerialPort/qextserialportd.dll,并把qextserialportd.dll和相应头文件都放入工程目录中 再然后使用Qt_4_8_0_for_Desktop_-_MSVC2010编译,会已下3个错误: 1. ../LeadEDM/SerialPort/qextserialportd.dll : fatal error LNK1107: 文件无效或损坏: 无法在 0x3F8 处读取 2. NMAKE : fatal error U1077: “"d:\Sun\Visual Studio 2010\VC\BIN\link.EXE"”: 返回代码“0x453” 3. NMAKE : fatal error U1077: “"D:\Sun\Visual Studio 2010\VC\BIN\nmake.exe"”: 返回代码“0x2” 请问:主工程是MSVC2010编译的,使用MinGW编译的库却会报如上错? 需要怎么解决这个问题呢,难道我所使用的库也一定要用MSVC2010编译吗?

利用mingw编译 thrift库

环境:windows7 下用QT开发,编译器为mingw。 状况:想通过mingw+msys编译Thrift库,通过msys执行./configuare命令,出现找不到sys/un.h等头文件的问题 百度的了解到这些事linux下面的文件,在mingw下面的sys头文件夹下面并没有这些头文件,像这种问题如何编译?谢谢

用msys编译GMP、PBC库是出现错误,求万能的大神帮忙解决!

用msys编译GMP、PBC库是出现如下错误,求万能的大神帮忙解决! ![图片说明](https://img-ask.csdn.net/upload/201512/14/1450093275_306813.jpg) ![图片说明](https://img-ask.csdn.net/upload/201512/15/1450154311_902355.jpg) 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 toWinMain@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 toWinMain@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 toWinMain@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 Seeconfig.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

求教怎么用mingw编译出64bit的dll

今天折腾了一天的JNI 了,我的机器是win7 64bit的,jvm也是64bit的,没有VS,所以用MinGW把C编译成dll,经过今天的折腾还是没能编译出64bit的dll 编译时所用的命令是: gcc -Wall -D __int64="long long" -Wl,--kill-at -ID:/Java/jdk1.7.0_67/include -ID:/Java/jdk1.7.0_67/include/win32 -shared -o HelloNative.dll HelloNative.c 求大神们帮忙解决.......

QT,minGW编译错误,求解答

环境变量设置了,按照教程安装了qt。之前用qt+vs,现在改用mingw+qt。哪里出错了,编译错误 求大神解答![图片说明](https://img-ask.csdn.net/upload/201608/14/1471161970_125728.png)

mingw MSYS2 编译ACE出错

操作系统是WIN7 64位,我用QT中自带的mingw,mingw版本是7.3,在MSYS2中编译ACE,ACE版本是6.5.5,出现如下错误 g++.exe: error: .shobj/Configu: No such file or directory mingw32-make[1]: *** [E:/ACE_wrappers/include/makeinclude/rules.lib.GNU:245: libACE.dll] Error 1 mingw32-make[1]: Leaving directory 'E:/ACE_wrappers/ace' mingw32-make: *** [GNUmakefile:44: ACE] Error 2 ![图片说明](https://img-ask.csdn.net/upload/201906/09/1560053143_932285.png) 我把ACE的版本换成6.5.0出现相同的错误,但提示有点不同 ![图片说明](https://img-ask.csdn.net/upload/201906/09/1560053237_182274.png) 都是找不到一个.shobj/Configu(.shobj/Co)的文件,makefile中的源文件都能完成编译,.shobj是编译过程中自动创建的存放.o文件的文件夹,我感觉是在获取.shobj/Configu的文件时,文件名被截断了,但找不到在哪,请高手指点,谢谢。

用mingw32-make命令编译QT5.13.0源码出现错误怎么解决?

D:\QtWasm\qt-everywhere-src-5.13.0> configure -xplatform wasm-emscripten -platform win32-g++ -nomake tests -nomake examples -prefix %CD%\qtbase -no-warnings-are-errors //configure过程会出现协议选择 选项一:选择 o 表示开源使用 选项二:选择 y 表示接受协议 //配置完成无错误后 mingw32-make 完成编译 编译结束时出现错误怎么解决? ![图片说明](https://img-ask.csdn.net/upload/202003/09/1583724076_827068.png)

mingw 编译openvpn 编译tap-win32时报错

这是报错部分源码: typedef struct _INSTANCE { struct _INSTANCE *next; TapAdapterPointer m_Adapter; } INSTANCE; typedef struct { INSTANCE *list; MUTEX lock; } INSTANCE_BUCKET; typedef struct { INSTANCE_BUCKET buckets[N_INSTANCE_BUCKETS]; } INSTANCE_HASH; INSTANCE_HASH *g_InstanceHash = NULL; //定义全局变量 g_InstanceHash BOOLEAN InitInstanceList (VOID) { MYASSERT (g_InstanceHash == NULL); g_InstanceHash = MemAlloc (sizeof (INSTANCE_HASH), TRUE); ///这里是申请内存 if (g_InstanceHash) { int i; for (i = 0; i < N_INSTANCE_BUCKETS; ++i) INIT_MUTEX (&g_InstanceHash->buckets[i].lock); return TRUE; } else return FALSE; } int NInstances (VOID) { int i, n = 0; if (g_InstanceHash) { for (i = 0; i < N_INSTANCE_BUCKETS; ++i) { BOOLEAN got_lock; INSTANCE_BUCKET *ib = &g_InstanceHash->buckets[i]; ACQUIRE_MUTEX_ADAPTIVE (&ib->lock, got_lock);/*编译到这里报错:error c4090:'function' :different 'volatile'qualifiers*/ if (got_lock) { INSTANCE *current; for (current = ib->list; current != NULL; current = current->next) ++n; RELEASE_MUTEX (&ib->lock); } else return -1; } } return n; } ![图片说明](https://img-ask.csdn.net/upload/201610/07/1475846081_238655.png)

codeblocks+mingw,msys编译pjsip

我使用的是win32下codeblocks,使用mingw/gcc编译器,我想要安装pjsip应该怎么操作,查找了很多的资料,知道pjsip是支持交叉编译的,win32+mingw,但是我就是无法编译成功 make[1]: execvp: make: Resource temporarily unavailable make[1]: *** [depend] Error 127 make[1]: Leaving directory '/e/pjproject-2.2.1/pjmedia/build' make: *** [dep] Error 1 后来用cygwin试了一下,提示说是speex/speex_echo.h找不到,但是没有问题啊,文件夹中是有的啊 麻烦大家告诉我这是什么情况,怎么修正 如果有codeblocks+mingw下编译成功的pjsip,给我一份也好,多谢

ffmpeg mingw32编译出来后使用率高

如题根据网上教程在windows下用mingw编译ffmpeg后,出现使用率高的问题,用ffplay播放本地视频使用率在16左右,用官网编译好的,播放使用率3左右,求大佬解释一下!

windows上写qt需要接入assimp但是编译库lib总是出错,麻烦大神帮忙看下

![图片说明](https://img-ask.csdn.net/upload/201812/09/1544367845_414782.png) file too big的错误,很烦

在Qt 中调用GDAL出错,请问是编译库的额问题吗

在Qt5.13.2中新建控制台工程,编译器5.13.2 MinGW 64-bit 调用GDAL时,将GDAL库放在项目文件夹下,在pro中写入 ``` LIBS += -L$$PWD/GDAL/lib/gdali.lib INCLUDEPATH += $$PWD/GDAL/include DEPENDPATH += $$PWD/GDAL/include ``` 编译无问题 在main.cpp如下 ``` #include <QCoreApplication> #include "gdal_priv.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); GDALAllRegister(); return a.exec(); } ``` 编译报错 undefined reference to 'GDALAllregister' error:ld returned 1 exit status 请问是库的编译有问题么,库是VS2017编译的,如果要用MINGW编译要咋做

配置QtCreator5.5.1与opencv3.3.1,执行mingw32-make出错。

windows7配置QtCreator5.5.1与opencv3.3.1,执行mingw32-make出错。 求大神解答!!!

logcplus在window环境使用mingw编译源码的时候socket.cxx报错?

logcplus在window环境使用mingw编译源码的时候socket.cxx报错,截图如下: ![图片说明](https://img-ask.csdn.net/upload/202004/11/1586597150_599097.png) Cmake的节目配置如下:

Linux 下编译C出错(windows编译正常)

Ubuntu 15 gcc version 5.2.1 错误: ![图片说明](https://img-ask.csdn.net/upload/201601/25/1453733873_357191.png) scritpt.hpp下是一个 命名空间 namespace script{ .... int setData( PyObject * pObj, Vector4 & rVal, const char * varName = "" ); int setData( PyObject * pObj, Matrix & rVal, const char * varName = "" ); int setData( PyObject * pObj, PyObject * & rVal, const char * varName = "" ); int setData( PyObject * pObj, SmartPointer<PyObject> & rPyObject, const char * varName = "" ); int setData( PyObject * pObj, Capabilities & rCaps, const char * varName = "" ); int setData( PyObject * pObj, std::string & rString, const char * varName = "" ); int setData( PyObject * pObj, std::wstring & rString, const char * varName = "" ); int setData( PyObject * pObj, char * & rString, const char * varName = "" ); int setData( PyObject * pObj, Mercury::Address & rAddr, const char * varName = "" ); template <class T> PyObject * getReadOnlyData( const T & d ) { return getData( d ); //出问题的地方126行 } PyObject * getData( const bool data ); PyObject * getData( const int data ); PyObject * getData( const uint data ); .... } stl_to_py.cpp PyObject * Script::getData( const PySTLSequenceHolderBase & holder ) //出错位置 { return new PySTLSequence( const_cast<PySTLSequenceHolderBase&>(holder), holder.pOwner() ); } stl_to_py.hpp 中 namespace Script { int setData( PyObject * pObject, PySTLSequenceHolderBase & data, const char * varName = "" ); PyObject * getData( const PySTLSequenceHolderBase & data ); }; 不知道哪里出错了,求大神指点 是有定义了的 定义在st_to_py.hpp中 note: stl_to_py.cpp:506 'PyObjest * Script::getData(const PySTLSequenceHoldBase &) ' declared here ,later in the translation unit PyObjest * Script::getData(const PySTLSequenceHoldBase & holder) st_to_py.hpp 是 include了 script.hpp 这个在window环境下是能编译通过的

Clion添加MinGW报错,路径无中文,求大神帮忙

"C:\Program Files\JetBrains\CLion 2019.3.1\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\Lenovo\CLionProjects\untitled -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: C:/MinGW/bin/gcc.exe CMake Error: Generator: execution of make failed. Make command was: C:/MinGW/bin/mingw32-make.exe cmTC_67f3e/fast && -- Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken CMake Error at C:/Program Files/JetBrains/CLion 2019.3.1/bin/cmake/win/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Lenovo/CLionProjects/untitled/cmake-build-debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/MinGW/bin/mingw32-make.exe cmTC_67f3e/fast && Exit code 0xc0000135 Generator: execution of make failed. Make command was: C:/MinGW/bin/mingw32-make.exe cmTC_67f3e/fast && CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred! See also "C:/Users/Lenovo/CLionProjects/untitled/cmake-build-debug/CMakeFiles/CMakeOutput.log". See also "C:/Users/Lenovo/CLionProjects/untitled/cmake-build-debug/CMakeFiles/CMakeError.log". [Failed to reload]

MinGW编译环境中由文件描述符(fd)获得windows文件句柄有什么方法

我在MinGW中打开了一个文件后把描述出输出来是3,推测MinGW中不是用的文件句柄表示open打开的文件,现在想从这个描述符中获取windows句柄,有什么函数可以实现吗

qt5 mingw32编译cryptopp565出现问题

本人参考帖子[https://blog.csdn.net/weixin_34336292/article/details/86276790](https://blog.csdn.net/weixin_34336292/article/details/86276790 "https://blog.csdn.net/weixin_34336292/article/details/86276790") 进行到prompt中编译,输入mingw32-make all。参考资料中说这个过程要几分钟的时间,但是我的很快就运行完,并且提示错误 ![图片说明](https://img-ask.csdn.net/upload/201910/07/1570421698_352226.jpg) 后面的操作步骤也就不能进行了. 请问如何处理这里的错误?

mingw在win7下编译ffmpeg,出现错误

如题,mingw在win7下编译ffmpeg,出现错误,好头大阿~ ![图片说明](https://img-ask.csdn.net/upload/201508/03/1438585839_367575.jpg)

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Intellij IDEA 实用插件安利

1. 前言从2020 年 JVM 生态报告解读 可以看出Intellij IDEA 目前已经稳坐 Java IDE 头把交椅。而且统计得出付费用户已经超过了八成(国外统计)。IDEA 的...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

魂迁光刻,梦绕芯片,中芯国际终获ASML大型光刻机

据羊城晚报报道,近日中芯国际从荷兰进口的一台大型光刻机,顺利通过深圳出口加工区场站两道闸口进入厂区,中芯国际发表公告称该光刻机并非此前盛传的EUV光刻机,主要用于企业复工复产后的生产线扩容。 我们知道EUV主要用于7nm及以下制程的芯片制造,光刻机作为集成电路制造中最关键的设备,对芯片制作工艺有着决定性的影响,被誉为“超精密制造技术皇冠上的明珠”,根据之前中芯国际的公报,目...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

差点跪了...

最近微信又搞出了一个大利器,甚至都上了热搜,当然消息最敏捷的自媒体人,纷纷都开通了自己的视频号。01 视频号是什么呢?视频号是微信体系内的短视频,它不同...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

Vue回炉重造之router路由(更新中)

你好,我是Vam的金豆之路,可以叫我豆哥。2019年年度博客之星、技术领域博客专家。主要领域:前端开发。我的微信是 maomin9761,有什么疑问可以加我哦,自己创建了一个微信技术交流群,可以加我邀请你一起交流学习。最后自己也创建了一个微信公众号,里面的文章是我自己精挑细选的文章,主要介绍各种IT新技术。欢迎关注哦,微信搜索:臻美IT,等你来。 欢迎阅读本博文,本博文主要讲述【】,文字通...

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

大胆预测下未来5年的Web开发

在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...

立即提问
相关内容推荐