DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56JHjxw5711517 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 56JHjxw5711517 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=SpZntPw/ X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4C75385DC05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1752947158; bh=D7bPWsfhj+z6qKIwmfy3AIrZKFJWzX9LLMp7ApbCLTo=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=SpZntPw/Gmu8xIiQxz25F/vdsNL5IeGmzpWlMuKehRo2FdmWfn+nh/px8cjRRRDrA 0MHbv59dOlpugLn1vVQK+9zDC8w7aDCGT1kZyvz+HQk4rXfn+JtPkKCJ2JhJji89Gz qEqnLjQ/43KxNc4Vy10HT0xmblEHzsYrYrqa9NNQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A9E33858C66 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1A9E33858C66 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752947132; cv=none; b=IIU8/NGamA74bQK/8bsX7u9W+p92XISkZBk94/zP8V1fggtt7WjhO9f79T/gyNl5oJdE82jSFEeda3K04ODTuHHiz7VXKIMZnYpKT2Ei2dE68GXrPAu1OutxT0pjHq3l2k/QsQr7VHfnRGmCTRrJahFXhU2SlwQDbFkJ0M3dajI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752947132; c=relaxed/simple; bh=yLUvdb5gQTPoKoR+zx4WKtZwt8PGJO4AkBW7QgzKPCw=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=mHNg9NqKCdvch0yzNGlMRApEJNEwPUucsldgtDiQikvKAlapZlpgwqOl1FN3YUOAfmFvRjc3BGHnsEczy5DJ9LNZpP1KP4mqCrzfWDiDv7cn6TahWBgmatT5yGny8t+d/FPe1Ygvr25brWFr04ZKpcSXAwMe8xVaPZh+i88GRTk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A9E33858C66 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752947130; x=1753551930; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x4jvrqspmUsMIRmMtZPpib7zV6PkecsocPFIIzsfli4=; b=M7BE2Z9VCVSgmiyrR9eBv9OQQpnTdP+RuFQfTTF0sMUDSMb/UulhBU6UlaMrdfi/01 vmpWHz1Sq5ARAB8Cvr9XclPxiIGdiZDp7kJipYdH65luBKgItvVEi6qkNaBnMyGi6Coz zDue4P7H7QgwYdqfKPAo/bTtV/pL6TwG98l4dcrFtrWc1LmpXeijKMoWwaparybwKaiX JjLeXBTRJdRhI4pe/p586iJPYogG6nnznGIqiHV9iPKRxoPjDzrPSas/6N5I4MPpXxJS XrUfvOA5aO8tTF/s6JfK6M2NFjlSopb/chNPPGX1YjMrMhTOG5lCA9ycGTqeiERSzIdq 4LeQ== X-Gm-Message-State: AOJu0YySx1WHH/RsomOJ+F7row96kpPLwpJQ/yzZ4ika0Y1n5RVH9FoY QWsnq80OODdsqxT3/4yBddUR+jj+tWBdmW75z86936SSOAdl8S62yHz7WoDm0KdoC7hh//e6dXN cxKf1CA7Va4XRvDQsPiKPxxjEWVggSXFmA+r9 X-Gm-Gg: ASbGnct2iP6GMNESbgYMLHXk8zIfr96ofHCBkfZ0fboBRyEgv3jm+aGk0aYnjZO4XZG zzRCqZwqu6LCY/ENfXxLceWoDKBZj6VT3CngYX1QBtqa7KLtHGd4e2f91U+nsyPSoQ6PeDFLfyW ieCdwpj6L0MKK61IgrDPwRGz4PAnQsQaLWweyIoHSdj7VQXmdilx+qPTT7w4Z20Xo4L6wP9dyO7 Ox4 X-Google-Smtp-Source: AGHT+IFFigbxSVooDWoYXNKVeLDLqj5y98BmzeMZxqTWUGIfrMh/Bt0jY5tOiBpQDSlXlFKx+epmz/ezwjlNTSVP3vI= X-Received: by 2002:a2e:a58f:0:b0:32b:34c5:225d with SMTP id 38308e7fff4ca-330a7ae1057mr16328691fa.1.1752947129914; Sat, 19 Jul 2025 10:45:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 19 Jul 2025 13:45:18 -0400 X-Gm-Features: Ac12FXwVK-ty2X_TrQjd9MNm4axSjHpyTcJlPSUPG7zwJdoqdaCsq73-pjh-4zU Message-ID: Subject: Re: CMake is not finding a usable cc on my cygwin system, I've tried many things. To: cygwin AT cygwin DOT com X-Content-Filtered-By: Mailman/MimeDel 2.1.30 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: Soren via Cygwin Reply-To: Soren Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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. Thanks to Eliot Moss as well as Brian Ingles and Kevin Schnitzius. The code I am trying to build under cygwin is from www.libjpeg-turbo.org. I said that configuration was not quite successful. Here's what happened: $ cmake -G"Unix Makefiles" /cygdrive/C/Users/somia/Downloads/libjpeg-turbo-3.1.1/ cmake -G"Unix Makefiles" /cygdrive/C/Users/somia/Downloads/libjpeg-turbo-3.1.1/ -- The C compiler identification is GNU 12.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /bin/gcc.exe -- Check for working C compiler: /bin/gcc.exe - works -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_BUILD_TYPE = Release -- VERSION = 3.1.1, BUILD = 20250719 CMake Error at CMakeLists.txt:107 (math): math cannot parse the expression: " * 8": syntax error, unexpected exp_TIMES (2). -- ERROR-bit build (i386) -- CMAKE_INSTALL_PREFIX = /opt/libjpeg-turbo -- CMAKE_INSTALL_BINDIR = bin (/opt/libjpeg-turbo/bin) -- CMAKE_INSTALL_DATAROOTDIR = (/opt/libjpeg-turbo) -- CMAKE_INSTALL_DOCDIR = doc (/opt/libjpeg-turbo/doc) -- CMAKE_INSTALL_INCLUDEDIR = include (/opt/libjpeg-turbo/include) -- CMAKE_INSTALL_LIBDIR = lib32 (/opt/libjpeg-turbo/lib32) -- CMAKE_INSTALL_MANDIR = man (/opt/libjpeg-turbo/man) -- Shared libraries enabled (ENABLE_SHARED = 1) -- Static libraries enabled (ENABLE_STATIC = 1) -- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1) -- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1) -- TurboJPEG API library enabled (WITH_TURBOJPEG = 1) -- TurboJPEG Java wrapper disabled (WITH_JAVA = 0) -- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0) -- libjpeg API shared library version = 62.4.0 -- Compiler flags = -O3 -DNDEBUG -- Linker flags = -Wl,--enable-auto-import -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Performing Test HAVE_BUILTIN_CTZL -- Performing Test HAVE_BUILTIN_CTZL - Success -- Performing Test RIGHT_SHIFT_IS_UNSIGNED -- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed -- Performing Test HIDDEN_WORKS -- Performing Test HIDDEN_WORKS - Success -- HIDDEN = __attribute__((visibility("hidden"))) -- Performing Test INLINE_WORKS -- Performing Test INLINE_WORKS - Success -- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1) -- Performing Test HAVE_THREAD_LOCAL -- Performing Test HAVE_THREAD_LOCAL - Success -- THREAD_LOCAL = __thread -- Performing Test HAVE_VERSION_SCRIPT -- Performing Test HAVE_VERSION_SCRIPT - Success -- Linker supports GNU-style version scripts -- CMAKE_EXECUTABLE_SUFFIX = .exe -- Looking for a ASM_NASM compiler -- Looking for a ASM_NASM compiler - /usr/bin/nasm.exe -- The ASM_NASM compiler identification is NASM -- Found assembler: /usr/bin/nasm.exe -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm.exe -- CMAKE_ASM_NASM_OBJECT_FORMAT = win32 -- CMAKE_ASM_NASM_FLAGS = -DWIN32 -DPIC -- SIMD extensions: i386 (WITH_SIMD = 1) -- FLOATTEST8 = sse -- FLOATTEST12 = -- Configuring incomplete, errors occurred! -- Soren -- 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