DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56J0AMY53704681 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 56J0AMY53704681 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fIj/0IPh X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17FD73851A87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1752883821; bh=t1KkoRxk7Nf64mOsopK6ErDbwMkCnSrUI6BZ+UBH/yU=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=fIj/0IPhGXJBBLf0vdWLXSK4L9bAKWyDGM+DTjls6xDJhDPAKnWw0MqwQacfxnP3V eHicBawwX93/NNtuRaRgm6gpjPf8duLCOZtkEpbhQRz0O3X0pYezwj/aYwSsKNw6gt dcUPuL/Fq1cGQp65ENrj4NTK7kD6hV0GE2HWggxw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 594A03851C05 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 594A03851C05 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752883691; cv=none; b=rGYr+j9+MPM4rkqHUYZv7wFjfTLhUc6BoxJ1TD1asvpfHHk55AHei5i7X0jo+f3upmFnxk+EmkhTYxpm9SlkOwrPvA6F396QMYtcYOCaGFRDP4SzPoN4xIXs05iJRc2dnw0IBoGAeaq6qn8TBrgY2LG8bvY02A3LDQ/n1HRS18o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752883691; c=relaxed/simple; bh=qSgDiFqn4ctxXHwhB+FKQ6J1CEN10phcEXkGMAulbSE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=kAMMjx03pWK0CUvkD/GOqsl59eZrBHldmGiIG0jT4CCiRhcm1aVj7lTPXaEU+M4TmiVGVcrSx+Wkho8ViLcjdDD5LgA+Wlrt4hCN7LmxJH77yRZjXzCTzMxe1hlfTTEFcVoerzc0b8sRCkc8R7G3FBtK/rnSyTtwpK2RgtiY0jg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 594A03851C05 X-ASG-Debug-ID: 1752883690-24039d08181658be0001-w5GHUG X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136 DKIM-Filter: OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 341745BDC9 X-Barracuda-RBL-Trusted-Forwarder: 172.26.64.86 Message-ID: Date: Fri, 18 Jul 2025 20:08:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: CMake is not finding a usable cc on my cygwin system, I've tried many things. Content-Language: en-US X-ASG-Orig-Subj: Re: CMake is not finding a usable cc on my cygwin system, I've tried many things. To: Soren , cygwin AT cygwin DOT com References: In-Reply-To: X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136] X-Barracuda-Start-Time: 1752883690 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cs.umass.edu X-Barracuda-Scan-Msg-Size: 1370 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.144489 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Eliot Moss via Cygwin Reply-To: Eliot Moss Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 7/18/2025 6:14 PM, Soren via Cygwin wrote: > Hello Cygwinstas, > > Cygwin root is C:\ix\cygwin, just so you know. > > This is the output I see: mintty screen dump: > > $ cmake -G"Unix Makefiles" C:/Users/somia/Downloads/libjpeg-turbo-3.1.1/ Caveat: I'm no expert on cmake, just a long time cygwin user. I'm assuming we're talking about _Cygwin_ cmake, not some Windows tool. If it's a Windows tool, I'd check the Windows path, and of course you should be getting at a Windows C compiler for cc. So, if cmake is a cygwin version, things I would check: 1) Is (cygwin) /c linked to /cygdrive/c? That would be so that /c/... is meaningful. 2) Is your compiler called cc, or something else, like gcc? Using the CC environment variable, as you later did, seems a good idea, but is the C compiler actually where you said, i.e., /bin? I think /usr/bin might be more conventional, but they may be the same directory. 3) I would write: cmake -G"Unix Makefiles" /c/Users/somia/Downloads/libjpeg-turbo-3.1.1/ That is, use a _cygwin_ style path, not a Windows style one when invoking a cygwin tool. Using a Windows path _might_ work. (Personally, I would not build in the Downloads area, but that's more personal taste I suppose.) 4) Maybe you want to set CMAKE_C_COMPILER ? Regards - Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple