On Tue, Mar 8, 2022 at 3:18 AM Stephen Kitt wrote:
>
> You can ask GCC itself:
>
> $ x86_64-w64-mingw32-gcc -E -include windows.h -
> <<<"__MINGW64_VERSION_MAJOR" | tail -n 1
> 9
>
>
Nice idea - works fine in a bash shell (cygwin and msys2) for me, but not
in a cmd shell.
With cmd.exe, there's no
Le 07/03/2022 13:34, sisyphus a écrit :
On Mon, Mar 7, 2022 at 6:27 PM Gisle Vanem
wrote:
> A command that displays only the value of __MINGW64_VERSION_MAJOR would
> probably suffice.
Some .bat-file with:
setlocal
set %find=%WinDir%\system32\find.exe
if %MINGW32%. == . set MINGW32=f:\MinGW32\
On Mon, Mar 7, 2022 at 6:27 PM Gisle Vanem wrote:
>
> > A command that displays only the value of __MINGW64_VERSION_MAJOR would
> > probably suffice.
>
> Some .bat-file with:
>
> setlocal
> set %find=%WinDir%\system32\find.exe
> if %MINGW32%. == . set MINGW32=f:\MinGW32\TDM-gcc
>
> type "%MINGW32
sisyphus wrote:
Is there a simple command that I can run to see the (mingw-w64) runtime
version number - something akin to "gcc -dumpversion" ?
A command that displays only the value of __MINGW64_VERSION_MAJOR would
probably suffice.
Some .bat-file with:
setlocal
set %find=%WinDir%\system32\
Hi,
Is there a simple command that I can run to see the (mingw-w64) runtime
version number - something akin to "gcc -dumpversion" ?
A command that displays only the value of __MINGW64_VERSION_MAJOR would
probably suffice.
Cheers,
Rob
___
Mingw-w64-publ