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
  -Wl,--out-implib,libcmTC_5d15a.dll.a
  -Wl,--major-image-version,0,--minor-image-version,0

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



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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