[Mingw-users] Errors in standard include files

Back to archive index
Eli Zaretskii eliz****@gnu*****
Sat Jan 11 06:21:17 JST 2020


> From: Keith Marshall <keith****@users*****>
> Date: Fri, 10 Jan 2020 20:49:20 +0000
> 
> mingw32-gcc is my GNU/Linux hosted cross-compiler; on Windows, you would
> just run:
> 
>   $ echo '#include <windows.h>' | gcc -E -dM -xc - |
>   > grep -E '(MINGW32|W32API)_VERSION'

That's from MSYS Bash's command line.  From the Windows cmd.exe, it
should be something like

  D:\>echo #include "windows.h" | gcc -E -dM -xc - | egrep "(MINGW32|W32API)_VERSION
  



More information about the MinGW-Users mailing list
Back to archive index