DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56IMFLqN3563275 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 56IMFLqN3563275 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=Q/aNWvDq X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49F193851AB5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1752876919; bh=8Oq4JbbZx+jNWIILNtt0z+fOBeo+HlTnu/dnW2iOiGc=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Q/aNWvDq7NeZtgNG+lgF34OXu+pwXJhcbSRCUbhHDHR9Mgq4pgziHAR/Yi27OGKaB n+cNCQfIx5OHf3k/n1aWHWEFJi95TdoD/Y+atVLjKmfL4mKhKj6MpXf06qw229L2b1 5ixsmqLe1TiqIX1AmNLWmuFBgLBhZ5jhfc8MBU2A= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5AD1C3851C05 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5AD1C3851C05 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752876892; cv=none; b=KQ6Q5woCd64jJOozODDaCBAFk+7DUrEbJaHHX8LuG7OMfnhPcjQ53S+I6ZxEKwHVzqubau8sDqXzsSKa2nTJF9Y3bFHVQHQCEX2dWJ4RLBUvH8wdbmIJoLbR+8kA0xXpjMmhocyVxKlKqUQKFkZkeCcSQvtg+rUCI7WpKSl5vuk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752876892; c=relaxed/simple; bh=q9nBT4uKIINJLobammTkyr//aDnXQVZ5lZWBCVdLHA0=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=pl05gznot0/zl0HBn+i6eb4pPP4UelYdBYFSWmFpVtOHhqXuIiWfLjJM/d9QbHSLgYPY4OHfGzw7Q7zQItc4exN2jKkCpZ83LB2a/G8IgYbwxaxTMzF3ZPr6jsFg2NMU+GUdKyU9C1CCmvoCBeS/vmHhtnB4sefNn8QN3Hdc3v4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AD1C3851C05 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752876888; x=1753481688; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FGU31KUni3Xtos3oYur7emjLSsYng9C9ZBkbu5iSO7A=; b=T0pBjifLo6SvW/v1a8NK/H1CMaA9plMgJZbWQRqGI7w22b3LcpqC6g8lJrlBjgSL+3 UwCV6W6wedNuu53dUe5AIFvmLcsNJ+ZaDMfLmoka8BUFeWBxhD7WSvkjkMCEfWjH83mw GJlnEpV2BhEiMp1LyC2vvcDR9EWt7OEF+6mMk2jXGrCMEs20nuk64V1Dz+dsNtZVJhSe 8YA2ut0eJiwRRVcJ2w38lMQAkcZ5o6A/f+i6/PFkaQCGVarlKTLxlsClA4h7X96kt5uh WZEdNcnUCEr3kz+hwR+Aqk3TxEAwxISrRidGrmxIVYYB3giTzFzfHf7TnQYlV8mrmPkB tJ2g== X-Gm-Message-State: AOJu0YwupHyqQqExXzRHJftY9pqHde2hVT1g2EghFXnpXyevaYi6fDP4 6yy89kwxQhh1c4xBn767h6SuSOT0sv2h/U4aJ3USOvielWugOgeStlUGyxOFLDgu86NITuM7UTE 9cl913siGcKnduzP8Qk6AxB50ErLafmPYp5fA X-Gm-Gg: ASbGncuj/eV3JJAeYYWi38cHsCxLNGXA7EYCMjqcNNU6oMG7gf+A6qUxrd4vsVWkBAC 19DzjTuN3pDMC8PxeoggnArubKpgiL7//5WV9Vi7sbXtDlV+JUfpIv0v9aewXBZxNZ4GxLKojA5 8hfrFJsYiWe+E/JTtYNv4SeSA1m/aBNYC4kiBcfKikqS0ipXgn5TFHSbAylStvcLzsTnq3lwA5T QbP X-Google-Smtp-Source: AGHT+IFcMteSOGTOFcL2mWEy74gCxa5xxLEaICOk9uNRSg86jx2DgnAkdZqbskTdXhL1AHDn1STP7NZZ9RKd6Iq1yGM= X-Received: by 2002:a2e:bc28:0:b0:330:8de6:de71 with SMTP id 38308e7fff4ca-3309a322465mr25525441fa.0.1752876887544; Fri, 18 Jul 2025 15:14:47 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 18 Jul 2025 18:14:34 -0400 X-Gm-Features: Ac12FXxjMDx2YhOXUDHI5jayl5FDt-aqgVombzStEdAMg_8pEozf4FAEMB7Ol2c Message-ID: Subject: CMake is not finding a usable cc on my cygwin system, I've tried many things. To: cygwin AT cygwin DOT com 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" 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/ cmake -G"Unix Makefiles" 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: /c/ix/cygwin/bin/cc -- Check for working C compiler: /c/ix/cygwin/bin/cc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/c/ix/cygwin/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: '/c/Users/somia/build/libjpeg-turbo/CMakeFiles/CMakeScratch/TryCompile-PYyzjN' Run Build Command(s): /usr/bin/cmake.exe -E env VERBOSE=1 /c/perl/c/bin/gmake.exe -f Makefile cmTC_de473/fast C:/perl/c/bin/gmake -f CMakeFiles/cmTC_de473.dir/build.make CMakeFiles/cmTC_de473.dir/build gmake[1]: Entering directory 'C:/Users/somia/build/libjpeg-turbo/CMakeFiles/CMakeScratch/TryCompile-PYyzjN' Building C object CMakeFiles/cmTC_de473.dir/testCCompiler.c.o /c/ix/cygwin/bin/cc -o CMakeFiles/cmTC_de473.dir/testCCompiler.c.o -c /c/Users/somia/build/libjpeg-turbo/CMakeFiles/CMakeScratch/TryCompile-PYyzjN/testCCompiler.c /usr/bin/sh: /c/ix/cygwin/bin/cc: No such file or directory gmake[1]: *** [CMakeFiles/cmTC_de473.dir/build.make:78: CMakeFiles/cmTC_de473.dir/testCCompiler.c.o] Error 127 gmake[1]: Leaving directory 'C:/Users/somia/build/libjpeg-turbo/CMakeFiles/CMakeScratch/TryCompile-PYyzjN' gmake: *** [Makefile:127: cmTC_de473/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:16 (project) -- Configuring incomplete, errors occurred! If I clean out all cached data in my build dir and set `CC=/bin/gcc'; export CC' is get another error: cmake -G"Unix Makefiles" C:/Users/somia/Downloads/libjpeg-turbo-3.1.1/ CMake Error at /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC: /bin/gcc. Call Stack (most recent call first): CMakeLists.txt:16 (project) CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! I hear people saying good things about CMake but this is maddening. My cmake is newly installed in /usr/bin/cmake and is version 3.30.1 I'm trying to build libjpeg-turbo as my pathnames above would suggest. -- 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