delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/21/16:33:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=R1qo3fN/QU0SqYZ9
gXugvLI2OYvjYf/lQFY23UQ15SDp/TdgxprIpoRjQDmg0NL/lZA+7qRHikeo3gAS
dSVnF5hS8X9zcdGXIALyaxWQcIL3RJ6qeeRgGKfdshCFZumUiszM0i2Z/TFjzzIG
QM69OwhzelOQcPXo7XtioI4HaJI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/UXy7AneqIfoMDADiHUf2r
yBNoU=; b=nb11WFxruM/yG8oj1UyQqB6W8RZW9w0XoGKS7c+i+DX6IfU444n9lU
Jxpkc5qO9TeM18JuROweDlz0XTVp+loIvwfu66li7jXDBFiwo7Mkh+nRQ+Ccqx9V
gDaX3u/Vnw084Oi9IddKnCg2MLphHX93VifIPR5qeqdVEEHED6zP0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=4.2.1-1, 5401, 5.4.0-1, 3.3.2-1
X-HELO: mailout02.t-online.de
Subject: Re: Cmake on cygwin64 fails with error "C compiler "/usr/bin/cc" is not able to compile a simple test program"
To: cygwin AT cygwin DOT com
References: <ee151bc17b85475c885fb8dd1bfef9da AT sraex01sc DOT sisa DOT samsung DOT com>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Message-ID: <12e058e5-9492-095c-15e3-7c0d07765cf3@t-online.de>
Date: Tue, 21 Jun 2016 22:32:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <ee151bc17b85475c885fb8dd1bfef9da@sraex01sc.sisa.samsung.com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019