Since the compiler OpenBLAS contact MSYS2.
下载MSYS:https://mirror.tuna.tsinghua.edu.cn/help/msys2/
Installation, and according to the following configuration, and may then be mounted mingw32 mingw64.
Several command:
View available fortran version:
$ pacman -Sl | grep fortran mingw32 mingw-w64-i686-gcc-fortran 9.2.0-2 mingw32 mingw-w64-i686-gcc-libgfortran 9.2.0-2 mingw64 mingw-w64-x86_64-gcc-fortran 9.2.0-2 [已安装] mingw64 mingw-w64-x86_64-gcc-libgfortran 9.2.0-2 [已安装] msys gcc-fortran 9.1.0-2
Installation fortran:
Mingw-W64 pacman -S $-i686- gcc - Fortran Resolving dependencies ... Finding packages conflict ... Packages ( 2 ) W64-i686- mingw- gcc -libgfortran- 9.2 . 0 - 2 mingw - i686--W64 gcc -fortran- 9.2 . 0 - 2 Download size: 10.21 MiB fully installed size: 38.95 MiB :: install it? [The Y / n-] Y :: Acquiring package ...... MinGW -w64-i686-G ... 585.1 KiB 35.7 MiB / S 00 : 00[#####################] 100 % MinGW -w64-i686-G ... 9.6 MiB 2.62 MiB / S 00 : 04 [##### ################] 100 % ( 2 / 2 ) is checking the key of the key ring [################ #####] 100 % ( 2 / 2 ) is checking the integrity of the package [#####################] 100 % ( 2 / 2 ) is loading package files [#####################] 100 % ( 2 / 2) Is checking file conflicts [#####################] 100 % ( 2 / 2 ) is checking the available memory space [######### ############] 100 % :: change package being processed ... ( . 1 / 2 ) MinGW-W64-i686- being installed GCC -libgfortran [####### ##############] 100 % ( 2 / 2 ) is mounted mingw-w64-i686- GCC -fortran [################ #####] 100 %
The local package database: pacman -S --refresh can be abbreviated as: pacman -Sy then upgrade package: pacman -S --refresh --sysupgrade can be abbreviated as: pacman -Syu 3. Common pacman command to install pacman -S package -name delete pacman -R package-name list of all the software installed pacman -Q --explicit or pacman -Q -e to search for packages list available packages, the package containing not installed pacman -Sl use grep to find relevant package pacman -Sl | grep package-name using regular look pacman -Ss package-name For example, I want to install gcc-related software, so you can search for pacman -Ss gcc
2. Install pacman -S-W64 mingw gcc-i686- MSYS2 this will automatically packaged under msys64 / mingw32, from the previous analysis shows that only mingw32.exe program will be used in this catalog. Third, make the installation look make tools related to make pacman -Sl | grep make a lot of bag are make tools, installation make MSYS2 of pacman -S make four or install Git search git pacman - Sl | grep git installing git MSYS2 of: pacman -S git
Reference: https://segmentfault.com/n/1330000004236998
Reference: https://blog.csdn.net/u013701860/article/details/81542437 (openblas can refer to this installation, however here only said most 64, but the mounting 32 may be derived)