DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56KIGLSS2027889
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 56KIGLSS2027889
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=R8I2NKNA
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 779D83858C2F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1753035379;
	bh=8qnX0UIZ0yR9XtpZp/Ind16YnXRJvsr34VVCZa1JKcY=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=R8I2NKNATBzWYDIU0ch3l6A11bkPR/v5TK0IJOqGsbkbMPOCtD38TJ02eD75qPDR4
	 U4PLMOG5PbUk9rNr+hbKt7Td05m3pO45SiAyRJ3wR1mb5gWBi30FtetOS2ye+aw3hc
	 wLIDOSx/WY8u5pH/YyOgyvc6ve3RRQEro6b3jbq4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1933A3858C41
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1933A3858C41
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1753035315; cv=none;
 b=VEEisy9sZzI+yHIG7w8Zl6qdRAUWYofYaQHgSUBYjPZ/ZG17/hADER3kS5T4hr5yUhjntx4B0y8UKRGSJ7Lx4hHywgBJ8qKe3N8x6qOIQU/quP2dXWJk4jOTt9uTR3MUcM2PPGntu74uzWaQpsOx7CY2Vc7Sa68ZMSEi4LTnlL4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1753035315; c=relaxed/simple;
 bh=97F/hFFL8TRvoNyDRCy4BKMT5bZMxEVZgZtt0WFFtaA=;
 h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
 b=N+Yh9hklVreWaHj+tPzOHZfTJmOtatmoCSDll0uWc9/46SJvhsUGxeSMxli3JsKhf+tndbtS3qF2FP0GcIfHvvqNaDOqCWLxYG617QZHV51K/LxYQ0p+aBVaNzn8PtqkQO2HxEa5xkOf7fV+q35axEkmS9U9rPns7KVhP1oMwS0=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1933A3858C41
Message-ID: <aeb04df0-b0c5-4548-8467-004427d4d2d1@SystematicSW.ab.ca>
Date: Sun, 20 Jul 2025 12:15:12 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: CMake is not finding a usable cc on my cygwin system, I've tried
 many things.
To: cygwin@cygwin.com
References: <CAGB_HuS1AEp3WGF5AANhtZyWnr+QdfbJZ3_egaaE1hM8QO6rig@mail.gmail.com>
 <fcf71e61-c511-4c67-9c33-d28d5574af09@SystematicSW.ab.ca>
 <CAGB_HuRfLZbQCWXRhjrhLOqkwh1Ohvh5zHkOhfO2J3uEGiMoXg@mail.gmail.com>
 <CAGB_HuRFp4RkiNaSGRA7=XOBZmXuA582G+P_Vi9PdQXz9jGWgQ@mail.gmail.com>
 <aHxsslcwZIFptjjq@slk15.local.net>
Content-Language: en-CA
Organization: Systematic Software
In-Reply-To: <aHxsslcwZIFptjjq@slk15.local.net>
X-Stat-Signature: xpk5ogygawtm3dher1qia4r39zrug6eb
X-Rspamd-Server: rspamout05
X-Rspamd-Queue-Id: 361E033
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1/jj06Vhq9y0t0Hy/jeE8XgOmdEbyvQhEg=
X-HE-Tag: 1753035313-326953
X-HE-Meta: U2FsdGVkX1/t/A5HT7RwU10ssM/7QQc4xsnXUglO4zU9V1W8jrZ5Rodzbq+DqUja+NhahBlhXzBxP99GnpfrFyZcmiOYkv9VRoLNrz7vXWRwjY+rK7Wi40PJlmBudJEQkZzJcmXflLUJCNWCGUnBu0rPZHW/Z/YUcwHW6DXplp+iqz5OuTIYXNogykOiGGescWx2kE1fNZDX9pj+eVxUDiTUS/dD/suqSSqqGgX1nIR0Ai5RASVW3hCq66KaGE/iQdgyyAHce01BUp7sv7hRf2lFt0MUOp0u7lP4XsaGydx8dFPLya6A8kiJ1EzwfQwqzE5deQ0DC419b43qfWIdb+QKzK4ir91iAmjcwmY6aAyd1sG7PvCeoA==
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 56KIGLSS2027889

On 2025-07-19 22:12, Duncan Roe via Cygwin wrote:
> On Sat, Jul 19, 2025 at 01:45:18PM -0400, ... wrote:
>> I just worked the CMake configuration command
>>     cmake -G"Unix Makefiles"
>> /cygdrive/C/Users/somia/Downloads/libjpeg-turbo-3.1.1/
>> and my woes were definitely due to having an msys cmake in my PATH. So,
>> guys, the guesses that I was trying with a Windows CMake were close but not
>> right on. It was *bash* that was my downfall, oddly enough. The first time
>> I invoked cmake I didn't have a cygwin cmake, and bash found the command
>> late in my PATH in the MSYS tree and hashed (stored) that path, so that
>> even after I installed cygwin cmake it kept calling msys cmake. Msys cmake
>> has now gone away for a lengthy vacation and cygwin cmake is producing a
>> configuration that is not quite successful but at least is more complete,
>> with real configure errors.

> Bash's `type` builtin would have told you that. `type` also tells you about
> aliases and functions, unlike `which` which I haven't used for ages.

Bash's which function tells you much more:

$ which which
which ()
{
     ( alias; declare -f ) | command which --tty-only --read-alias \
			--read-functions --show-tilde --show-dot "$@"
}

from which(1) or `info which example`. ;^>

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
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

