This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Am 21.06.2016 um 03:43 schrieb 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).

Well, FWIW, with the CMake-based projects I've been building here (Windows10 64-bit, Cygwin 64-bit, packages gcc 5.4.0-1, cmake 3.3.2-1, GNU make 4.2.1-1), it has worked just fine, and still does. I've built the current upstream release version of cmake itself with it, among quite a number of things.

One possibly important difference is that you keep your source tree in the Windows user profile directory; I never subscribed to that idea.

What this brings to mind is that maybe an antivirus program or other BLODA is getting in the way here.

  /usr/bin/cc -Wl,--enable-auto-import
  CMakeFiles/cmTC_5d15a.dir/testCCompiler.c.o -o cmTC_5d15a.exe

The linker command looks pretty much exactly like the one that works around here.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]