Apache OpenOffice (AOO) Bugzilla – Issue 22955
build breakage: gcc vs. Microsoft C/C++ Compiler
Last modified: 2006-03-14 21:02:56 UTC
Ken, your patches removing gcc2.95 support caused my build on Windows to fail: checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for gcc... /usr/bin/gcc checking the GNU gcc compiler version... configure: error: found version "2.95.3-5", use version 3+ of the gcc compiler Why do we check for gcc on Windows if it is not supported compiler? Before your patches: checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for gcc... /usr/bin/gcc checking the GNU gcc compiler version... checked (gcc 2.95.3-5) checking the GNU make version... checked (make 3.79.1) checking the Microsoft C/C++ Compiler... checking for mspdb70.dll... no checking for mspdb60.dll... /cygdrive/c/Progra~1/Micros~3/Common/MSDev98/Bin/msp db60.dll checking for cl.exe... /cygdrive/c/Progra~1/Micros~3/VC98/Bin/cl.exe found. checking the Version of Microsoft C/C++ Compiler... found Compiler version 00120 0008804. checking how to run the C preprocessor... /cygdrive/c/Progra~1/Micros~3/VC98/Bin /cl.exe -E
YOu must be using an old cygwin. The compiler switched to gcc 3.3 sometime ago (months I think). As an immediate solution you should update your cygwin to the current release, this will "hide" the problem in the script.
Implemented correction is --with-cl-home used to locate compiler.
With this change, running configure with --with-cl-home=/cygdrive/c/Progra~1/Micros~3/VC98: checking for gawk... gawk checking for gawk... /usr/bin/gawk checking for sed... /usr/bin/sed checking the operating system... checked (WINNT) checking for gcc... /cygdrive/c/Progra~1/Micros~3/VC98/bin/cl And build is stuck here and does not continue further.
Would you mind cc'ing me next time? I also filed an issue on this, iz 23354 will do something tonight.
Of course - sorry I forgot that.
Sorry, wrong issue number, use issue 23345 instead.
This is fixed in 23345. Closing as fixed.
Verified, closing.