Hello.

I'm trying to set up Gambit on a 64-bit Windows 7 box.  I've already installed MinGW and downloaded Gambit.  When I try to execute ./configure, I get the following errors in config.log below.  I've searched my system for confdefs and could not find it.

Any assistance would be appreciated.


Thanks, Steve

---

configure:3136: $? = 0
configure:3125: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)
configure:3136: $? = 0
configure:3125: gcc -V >&5
gcc.exe: '-V' option must have argument
configure:3136: $? = 1
configure:3125: gcc -qversion >&5
gcc.exe: unrecognized option '-qversion'
gcc.exe: no input files
configure:3136: $? = 1
configure:3158: checking for C compiler default output file name
configure:3180: gcc    conftest.c  >&5
configure:3184: $? = 1
configure:3221: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Gambit-C"
| #define PACKAGE_TARNAME "gambc-v4_6_0"
| #define PACKAGE_VERSION "v4.6.0"
| #define PACKAGE_STRING "Gambit-C v4.6.0"
| #define PACKAGE_BUGREPORT "gambit@iro.umontreal.ca"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
|  return ferror (f) || fclose (f) != 0;
|
|   ;
|   return 0;
| }
configure:3227: error: in `/c/jazzscheme/gambit':
configure:3231: error: C compiler cannot create executables
See `config.log' for more details.