Compiling GMP on windows

Jan 3, 2010 at 9:30pm
Hi. I have been trying to install GMP on windows and i have run into a lot of
trouble lately. I follow everystep of this tutorial exactly,
http://suchideas.com/journal/2007/07/installing-gmp-on-windows/ until step 4
under compilation and installion where I got the following error.
"configure: error: could not find a working compiler, see config.log for details". Can anbody help me?

config.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
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 4.3.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/c/dev-cpp --enable-cxx

## --------- ##
## Platform. ##
## --------- ##

hostname = Sam-PC
uname -m = i686
uname -r = 1.0.11(0.46/3/2)
uname -s = MINGW32_NT-6.0
uname -v = 2009-07-11 17:46

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

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

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Program Files (x86)/QuickTime/QTSystem/
PATH: /mingw/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1655: checking build system type
configure:1673: result: i686-pc-mingw32
configure:1681: checking host system type
configure:1695: result: i686-pc-mingw32
configure:1718: checking for a BSD-compatible install
configure:1773: result: /bin/install -c
configure:1784: checking whether build environment is sane
configure:1827: result: yes
configure:1884: checking for gawk
configure:1900: found /bin/gawk
configure:1910: result: gawk
configure:1920: checking whether make sets $(MAKE)
configure:1944: result: no
configure:2106: checking whether to enable maintainer-specific portions of Makefiles
configure:2115: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc icc cc
configure:3829: gcc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer 
Test compile: 
configure:3900: gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
configure:3903: $? = 1
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:3886: checking compiler gcc -O2 -pedantic -fomit-frame-pointer 
Test compile: 
configure:3900: gcc -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
configure:3903: $? = 1
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:3807: icc -c conftest.c >&5
./configure: line 3808: icc: command not found
configure:3810: $? = 127
configure:3829: icc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler icc -no-gcc 
Test compile: 
configure:3900: icc -no-gcc  conftest.c >&5
./configure: line 3901: icc: command not found
configure:3903: $? = 127
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:3807: cc -c conftest.c >&5
./configure: line 3808: cc: command not found
configure:3810: $? = 127
configure:3829: cc 2>&1 | grep xlc >/dev/null
configure:3832: $? = 1
configure:3886: checking compiler cc -O 
Test compile: 
configure:3900: cc -O  conftest.c >&5
./configure: line 3901: cc: command not found
configure:3903: $? = 127
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:5164: error: could not find a working compiler, see config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_build_alias=i686-pc-mingw32
ac_cv_env_ABI_set=
ac_cv_env_ABI_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=
ac_cv_env_LDFLAGS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_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=i686-pc-mingw32
ac_cv_host_alias=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI=''
ACLOCAL='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run aclocal-1.8'
AMTAR='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
ASMFLAGS=''
AUTOCONF='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run autoconf'
AUTOHEADER='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run autoheader'
AUTOMAKE='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run automake-1.8'
AWK='gawk'
BITS_PER_MP_LIMB=''
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC=''
CCAS=''
CC_FOR_BUILD=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CPP_FOR_BUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB=''
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
GMP_LDFLAGS=''
GMP_NAIL_BITS='0'
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='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /c/c++/GMP/gmp-4.3.1/missing --run makeinfo'
OBJDUMP=''
OBJEXT=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@gmplib.org'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 4.3.1'
PACKAGE_TARNAME='gmp'
PACKAGE_VERSION='4.3.1'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_SQR_OBJ=''
U=''
U_FOR_BUILD=''
VERSION='4.3.1'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WANT_MPBSD_FALSE=''
WANT_MPBSD_TRUE='#'
WITH_READLINE_01=''
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
gmp_srclinks=''
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/c/c++/GMP/gmp-4.3.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
mpn_objects=''
mpn_objs_in_libgmp=''
mpn_objs_in_libmp=''
oldincludedir='/usr/include'
prefix='/c/dev-cpp'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_HOST_CPU_i686 1
#define PACKAGE "gmp"
#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org"
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_STRING "GNU MP 4.3.1"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "4.3.1"
#define VERSION "4.3.1"
#define WANT_FFT 1

configure: exit 1
Topic archived. No new replies allowed.