X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A169A3857C44
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1691608721;
	bh=7rTRJYf/jpLx0SIsT5BdyWu+sx2vcnogWfGZMW6f524=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=Hxy+1KanYrPCo00ZfMwv5wGz5Bvkr89nwEtaO93mRapf5+NPKx8ZEsSYTmWJ4GL/u
	 9fIweOpQyjotOk3IYGxG+x9ldqvwPRuIJqJX5BaN8t2di4oWWCTrhZa7Izpk9FA+S/
	 81lHAoLubZ4kXqfTLL6koxg7om23oT0feCF0uUFQ=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA42B3857702
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1691608677; x=1692213477;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=tZrLsUARe5p8lY6mpMFgtZDPWoHop3Q7/h9NfVUdKCo=;
 b=HH7WLD0+OMZMNJ+2fsOhFIfdPfTO9/r+ep02Iuop5s4lZHEfZ/SRLfwekV5PPLMEoY
 aQcqasr8wjKP3nj8gqicTESTB2i0ar+Efy5Z2TlDNUO6hqpJXKN2RcAutIRcs1jucalq
 AELP8MHeK1JxZX4MLlN5W4vDAa6wxfmp09/6xeVpkBQvCd5fd3l2G/32Lt1HVtcDc8pn
 Tcdkzk7jtqQP4dHF3hpNAKuuLtp7REonIII+KSKkQ8ZDUoI2zyppTyhtNnUH8ZS8w77v
 nx+tfe696tzbNAExJxknlK++RoYNbz5eXnfr9U7RYYKssfMRmNhwB/RZ2YFtbS+SxDr/
 aAYA==
X-Gm-Message-State: AOJu0YwfAneeRHleM/3zb9oEJSYOYtIoJNsv90LIQ41Em1XhxTZ+Msie
 tK/jUObN3WFP8R1At4MSZiitcQGQTnlveyvcFxtFp84R7Ci8y/m+TWA=
X-Google-Smtp-Source: AGHT+IEwMFStk7CwBj4mLFGYk7CFY/IQqYWgEjpbKxjH7BSv4GdSJ9BF0B7NWF/8YeOndHp7Up4Nv5OTtM18xamkNHY=
X-Received: by 2002:a25:d7d2:0:b0:d10:7acb:24e0 with SMTP id
 o201-20020a25d7d2000000b00d107acb24e0mr329847ybg.41.1691608677238; Wed, 09
 Aug 2023 12:17:57 -0700 (PDT)
MIME-Version: 1.0
Date: Wed, 9 Aug 2023 21:17:39 +0200
Message-ID: <CA+j=ERqVMBc6M+r1H_NSiiEyTPMdkSAoQ45uX8GrCU3Eq_KNyw@mail.gmail.com>
Subject: Compile win64 filesys kernel module only with Cygwin tools?
To: cygwin@cygwin.com, cygwin-developers@cygwin.com
X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_05, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Level: ****
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Wendy Lin via Cygwin <cygwin@cygwin.com>
Reply-To: Wendy Lin <wendlin1974@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

How can I compile
https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs
with Cygwin gcc?

Compiling the individual *.c files might be easy, but how do I LINK
this to a *.sys module which can be loaded into the Windows 10 64bit
kernel?

Wendy

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