Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-20 Thread Frank Brill
I am having trouble building an open source project using cmake under Cygwin64 with the latest tools (setup-x86_64.exe version 2.874). I was able to successfully build the project with 32-bit Cygwin with the latest tools: gcc 5.4.0, gnu make 4.2.1, and cmake 3.3.2. I was also able to success

RE: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-21 Thread Frank Brill
Marco Atzeri writes: > what is the content of > cmake_link_script > CMakeFiles/cmTC_5d15a.dir/link.txt None of these files exists after the failed cmake exits. The directory ./CMakeFiles/CMakeTmp is created, but it's empty. The entire directory structure that is remaining after executing

RE: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-21 Thread Frank Brill
Hans-Bernhard Bröker writes: > One possibly important difference is that you keep your source tree in the > Windows user profile directory; I never subscribed to that idea. I've put the source tree in a number of places with the same result. I'll try again at any location you suggest. > What

RE: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-21 Thread Frank Brill
Tony Kelman writes: > I'm at a conference this week so really busy, but it sounds like I may > need to update cmake to the latest version (which is overdue anyway) > if something in the latest gcc is unhappy. Can you provide full > reproduction steps, a source repo or tarball to download? Also look

RE: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-21 Thread Frank Brill
The attached zip file contains the results when I create a directory called cmaketest64, put the two files from my previous post (CMakeLists.txt and tutorial.cxx) in it, and type "cmake ." I had to change the file extension from .zip to .z__ and remove two .exe files to get past the spam filte

RE: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"

2016-06-22 Thread Frank Brill
I rebooted my PC in Safe Mode and everything works fine on the same PC with the same cygwin64 installation. CMake is OK in Safe Mode. Some other processes that run during regular boot must be interfering with CMake. Definitely BLODA. I never even heard that term before yesterday, and look