I enter:
./autogen.sh --enable-client=gtk-2.0 --with-libiconv-prefix=/usr --host=mingw32 CPPFLAGS=-mno-cygwin
but get "configure: C compiler cannot create executables" - As far as I know I'm running latest for Cygwin and MinGW, as well as current Freeciv. I don't know much about makefiles, but it looks like GCC fails with -V option and doesn't continue to try the lowercase -v option.
Hmm, I tried to attach a file, but I get "The extension txt is not allowed" - so far .log and .txt are not allowed, and neither is a blank extension. I'd upload the config.log file but don't know how to do that? So, here's what I think is the relevant part of config.log:
## ----------- ##
## Core tests. ##
## ----------- ##
configure
configure
configure
configure
configure
configure
configure
configure
configure
mingw32-gcc.exe (GCC) 4.8.1
Copyright (C) 2013 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
configure
Using built-in specs.
COLLECT_GCC=C:\civdev\MinGW\bin\mingw32-gcc.exe
COLLECT_LTO_WRAPPER=c:/civdev/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)
configure
configure
mingw32-gcc.exe: error: unrecognized command line option '-V'
mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure
configure
mingw32-gcc.exe: error: unrecognized command line option '-qversion'
mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure
configure
configure
mingw32-gcc.exe: error: mno-cygwin: No such file or directory
configure
configure
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "freeciv"
| #define PACKAGE_TARNAME "freeciv"
| #define PACKAGE_VERSION "2.5.99-dev"
| #define PACKAGE_STRING "freeciv 2.5.99-dev"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure
configure
See `config.log' for more details