DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 52HLsKon3187898 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 52HLsKon3187898 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=qhIdM3qv X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB88A3857C63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1742248459; bh=cV4s0rE/t3RBcee2y9zcBabjbiwMX7nf7K0eN4qRD5E=; 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=qhIdM3qvIXQrg3Fv3bHYvv1bksHUcnScwtMh/lGdCSQgyAWBsx3mtF9OI+7ttm1il lIFKoeyL5vyo1icf6yMZ7r4U+46iOfUIRNksTA35MCW28mXHr9psy1RNzHoJhZvp+y M+7oL1+0un9lnpkcR+5e3VagGyz/oIrUw8lG3FuQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F2B463858D3C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F2B463858D3C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742248398; cv=none; b=slCVMrSv7EcjDNp9Foimi5FZ1wBmUzvhkiMpbrZN7sQKkrlVTBn4j4cbJ7p1mmSE0/oDcSQs3AlRpQHxLxVvXOkVv2/e38TuhUHPiV8M0FQP7ddN5ic8DVXPLnMFjM0FJceb+jp9EIOytQD4nPqFKQDxDcvdhiZZLMjEQdS3Z1s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742248398; c=relaxed/simple; bh=d8Ewcp7EGiHd2tIj2/ra0NujbMjMzU+l0BhRnJSYrSA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=fU1ntiTdxLmxBJiXSpuh9W2EctzRhu5FZRcNB1Ng5E24PO0XnSUr/lgbnmQdTpu6w1JaoeTXHCkri86j12dYwEtYCEu0bBVEq7NEXFBRiD2U7fuU7fvy9JQJPJQ7B7YJ0ZpZSTVY1ZApK7qrGIpHWW61cYzEd672i6Q20hDiq/Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2B463858D3C X-ASG-Debug-ID: 1742248396-24039d0438111f640001-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 BB13E54A48 X-Barracuda-RBL-Trusted-Forwarder: 172.26.64.86 Message-ID: Date: Mon, 17 Mar 2025 17:53:18 -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: Building Windows kernel modules with Cygwin compilers? Content-Language: en-US X-ASG-Orig-Subj: Re: Building Windows kernel modules with Cygwin compilers? To: Dan Shelton , cygwin AT cygwin DOT com References: In-Reply-To: X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136] X-Barracuda-Start-Time: 1742248396 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at cs.umass.edu X-Barracuda-Scan-Msg-Size: 871 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.138643 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 3/17/2025 4:20 PM, Dan Shelton via Cygwin wrote: > Hello! > > Is *ANY* of the compiler packages in the Cygwin package repository > capable of building Windows kernel modules, including SEH2 exceptions > (try, catch, leave, finally)? > > Dan I doubt it, if you mean specifically cygwin, since it's a library designed to provide a POSIX interface to programs, making it easier to port them from Linux platforms. It does have ways to call a number of Windows functions, but that's not what it was primarily designed to do. However, MSYS2 *might* be more likely since it is designed to support more of a native Windows interface. I couldn't say concerning kernel modules - that might be the deal breaker. I am not expert on these things, but have been on the mailing list for over 20 years - you pick up some things :-) ... HTH - 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