Compile win64 filesys kernel module only with Cygwin tools?

Martin Wege martin.l.wege@gmail.com
Thu Aug 10 12:42:24 GMT 2023


On Wed, Aug 9, 2023 at 10:04 PM 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.
>
> 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.

I'd be very interested in this idea to (build *.sys kernel module with
minGW64). Has anyone ever tried to do that? Just from Googling PDB
(Windows Debug File Format) files will be absent, but that is all,
right?

Thanks,
Martin


More information about the Cygwin mailing list