Hi,
I have a C++ package I'm trying to compile in Cygwin. It's generating
the following error and I'm not sure why:
"configure: error: C++ compiler cannot create executables"
I have already removed cygwin, downloaded the latest and completely
reinstalled it thinking this would fix the problem. No such luck it
seems. I've pasted in the config.log file and the output of cygcheck
-s -v -r in case that helps.
I think I've got all the C++ compiler packages installed, but I'm not
sure what the problem is.
Thanks.
RQ
-----------------------------------------------------------
-------------------- 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 task configure 1.0.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = t12
uname -m = i686
uname -r = 1.5.25(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2008-05-26 20:37
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/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: /home/yap/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/Gnumeric/bin
PATH: /cygdrive/c/Program Files/ActiveState Komodo IDE 4.2/
PATH: /cygdrive/c/Python25/
PATH: /cygdrive/c/program files/imagemagick-6.3.6-q16
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/c/Program Files/ATI Technologies/ATI Control Panel
PATH: /cygdrive/c/PROGRA~1/COMMON~1/AUTODE~1
PATH: /cygdrive/c/Program Files/Common Files/GTK/2.0/bin
PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/
PATH: /cygdrive/c/Program Files/Common Files/Autodesk Shared/
PATH: /cygdrive/c/Program Files/Common Files/Repro Desk
PATH: /cygdrive/c/PROGRA~1/adoss
PATH: /cygdrive/c/Program Files/Autodesk/DWG TrueView/
PATH: /cygdrive/c/Program Files/Subversion/bin
PATH: /cygdrive/c/PROGRA~1/COMMON~1/MUVEET~1/030625
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1789: checking for a BSD-compatible install
configure:1845: result: /usr/bin/install -c
configure:1856: checking whether build environment is sane
configure:1899: result: yes
configure:1923: WARNING: `missing' script is too old or missing
configure:1927: checking for a thread-safe mkdir -p
configure:1966: result: /usr/bin/mkdir -p
configure:1979: checking for gawk
configure:1995: found /usr/bin/gawk
configure:2006: result: gawk
configure:2017: checking whether make sets $(MAKE)
configure:2042: result: no
configure:2289: checking for g++
configure:2305: found /usr/bin/g++
configure:2316: result: g++
configure:2347: checking for C++ compiler version
configure:2354: g++ --version >&5
g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 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:2357: $? = 0
configure:2364: g++ -v >&5
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with:
/usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry
--enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure:2367: $? = 0
configure:2374: g++ -V >&5
g++: `-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C++ compiler default output file name
configure:2427: g++ conftest.cpp >&5
2 [main] ? 3312 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1plus.exe (3312): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000