Compile win64 filesys kernel module only with Cygwin tools?

Brian Inglis Brian.Inglis@Shaw.ca
Thu Aug 10 19:50:30 GMT 2023


On 2023-08-09 16:59, Wendy Lin via Cygwin wrote:
> On Wed, 9 Aug 2023 at 22:04, Hans-Bernhard Bröker via Cygwin
> <cygwin@cygwin.com> 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?

http://support.fccps.cz/download/adv/frr/win32_ddk_mingw/win32_ddk_mingw.html

https://github.com/utoni/mingw-w64-dpp

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list