X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E08E1385770D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1691622000; bh=IzkFMX0NlJYXL4E6VWye11uCXK0bx+Om6TGlUxCfGe0=; 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=MnJVYGmrPTjIMYqDK5O9xrLtp/IWlXVXW7p04yKPTdojMYS088iizMvUU+/NuuwuY KgZNmUDRBXw/UySp//LW9xNDpshYv7iGlZtj88w1IMolKbiVngy5iOfPIdiSFDQe7L Q5R+DMP69tzL9XYg6AxGm4fYL6pJ/FGP7jiUcRmw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 689713858D20 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691621963; x=1692226763; h=content-transfer-encoding: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=ji1FPs1AxUm4k6na9pXgeX4n+Jlk7lpwTkPI2EsyJfc=; b=ZRPp+XAnIIcNApI/iLqjSuTUo8a0OSZW+fsHvTiciyS9RV/t/ojzOM3RCKiMn1+5YI R2LD3sptgoOGu2pfWznsix49NEIecoDckNfVRYz793kx/j+a7tyYvM4KaPLcJjC0qhXM FBgS3uPcWsFk9LWr1SIRJ/r13hq9voUzycdkNxJzGv89aRuqDtcwW/86MMCQROCdAtzr iM0C5RLKmplosdV8LHAJPH/fQQbABZlBeUugRnn8VGQ9IhwOzvgnjE90tt+Zz8luDyFN OKItdFWF0tZOzxpv2Yl47Jdl4K7MZtV7Dh8bH+eoz2zPqsyvEfDPtLojuu+rnKcMB6Kx NtJA== X-Gm-Message-State: AOJu0YzwuhwxJtghmG4FsoXHXpxTE4I80ZMCJlSac7Kw+SI76ZdbwkH9 b2hhSTsTx+CjOJ8py1dlxyNv9eIwHTStQWqwmzwY0CLKfnY= X-Google-Smtp-Source: AGHT+IEPqhL8ejXdKonQFdsOlELIdiB0Ff5IOFxcVp9hsc7mbj3dLSimKqBof1OfSdm8qWvU4NhfFmH8GEfVtSqa8aU= X-Received: by 2002:a25:2903:0:b0:d0d:8359:c159 with SMTP id p3-20020a252903000000b00d0d8359c159mr875690ybp.45.1691621963548; Wed, 09 Aug 2023 15:59:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 10 Aug 2023 00:59:07 +0200 Message-ID: Subject: Re: Compile win64 filesys kernel module only with Cygwin tools? To: cygwin AT cygwin DOT com X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, 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-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Wendy Lin via Cygwin Reply-To: Wendy Lin Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 379N02e2030703 On Wed, 9 Aug 2023 at 22:04, Hans-Bernhard Bröker via Cygwin wrote: > > Am 09.08.2023 um 21:17 schrieb Wendy Lin via Cygwin: > > How can I compile > > https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs > > with Cygwin gcc? > > You should not be trying to do that. > > That's deeply system-specific Windows code. It has nothing to with > POSIX, Cygwin or anything like that. I really don't care. I really want to RUN AWAY (CRYING!!) from having to depend on Visual Studio 2019 or later. I can't even find C:\WinDDK\ with Visual Studio 2019 anymore, after updating from Windows 8. I'm almost crying about it. Also, we want CI, and that is not going to happen with the Visual Studio Community edition. > For that you need a native Windows toolchain, and quite possibly some > extra SDK packages from Microsoft to enable building them. MinGW64 > (wether stand-alone, or the MSYS(2) hosted one, or the one hosted in > Cygwin) might be able to do it. So, MinGW64 would work? Which compiler and linker options do I have to use, which libraries do I link against etc? 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