Unable to build GDB on Windows

Eli Zaretskii eliz@gnu.org
Mon Sep 28 15:23:39 GMT 2020

> From: Christian Biesinger <cbiesinger@google.com>
> Date: Mon, 28 Sep 2020 17:17:49 +0200
> Cc: simon.cook@embecosm.com, Reuben Thomas via Gdb <gdb@sourceware.org>
> > OTOH, if you build on Windows before 7, the produced binary will be
> > able to run on newer versions of Windows by dynamically loading
> > bcrypt.dll (when available) at run time, and using a fallback
> > otherwise.
> Hmm that sounds odd, usually the way the Windows SDK works is that
> this only depends on what you #define, not what you build on
> (especially _WIN32_WINNT)

Well, that's true, but how many will use "CPPFLAGS=-D_WIN32_WINNT=..."
when configuring GDB?  The default is buried somewhere in the MinGW
headers, and guess what it is?

More information about the Gdb mailing list