查看MinGW的版本

查看MinGW – w64 的版本 (查看MSYS2的版本),2种方法:

$ cat /proc/version

MINGW32_NT-10.0-22000 version 3.3.4-341.x86_64 (runneradmin@fv-az448-481) (gcc version 11.2.0 (GCC) ) 2022-02-15 17:24 UTC

或者:

$ uname -a
MINGW32_NT-10.0-22000 LAPTOP-FJNTRVPC 3.3.4-341.x86_64 2022-02-15 17:24 UTC x86_64 Msys

====================================

查看gcc 版本:

$ gcc --version
gcc.exe (Rev9, Built by MSYS2 project) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

查看g ++版本:

$ g++ --version
g++.exe (Rev9, Built by MSYS2 project) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

上一篇:centos7系统卸载mysql5.7 安装mysql8


下一篇:python一些utils