Skip to content

Commit 1c75455

Browse files
committed
Remove paragraph and slightly modify msys2 definition
1 parent 43c2ee5 commit 1c75455

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

learn/os_setup/install_gfortran.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,21 @@ Three sources provide quick and easy way to install GFortran compiler on Windows
1313
1. [http://www.equation.com](http://www.equation.com/servlet/equation.cmd?fa=fortran), provides 32 and 64-bit x86
1414
executables of the latest (10.2) gcc-version.
1515
2. [TDM GCC](https://jmeubank.github.io/tdm-gcc/articles/2020-03/9.2.0-release), provides 32 and 64-bit x86 executables of the 9.2 gcc-version.
16-
3. [Mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds) provides a 64-bit x86 executable of the 7.2 gcc-version.
16+
3. [MinGW-w64](http://mingw-w64.org/doku.php/download/mingw-builds) provides a 64-bit x86 executable of the 7.2 gcc-version.
1717

1818
In all the above choices, the process is straightforward—just download the installer and follow the installation wizard.
1919

2020
### Unix-like development on Windows
2121
For those familiar with a unix-like development environment, several emulation options are available on Windows each of which provide packages for gfortran:
2222

2323
* __Cygwin:__ A runtime environment that provides POSIX compatibility to Windows;
24-
* __MSYS2:__ A collection of Unix-like development tools for compiling native Windows binaries;
24+
* __MSYS2:__ A collection of Unix-like development tools, based on modern Cygwin and MinGW-w64;
2525
* __Windows Subsystem for Linux (WSL):__ An official compatibility layer for running Linux binary executables on Windows.
2626

2727
All of the above approaches provide access to common shells such as bash and development tools including GNU coreutils, Make, CMake, autotools, git, grep, sed, awk, ssh, etc.
2828

2929
We recommend the WSL environment for those looking for a Unix-like development environment on Windows.
3030

31-
Note that only MSYS2 allows the native compilation of Windows binaries; this is important if you intend to distribute your binaries or if you prioritise execution performance.
32-
Binaries compiled in Cygwin are 'Cygwin' binaries linked against `cygwin.dll` and will hence only execute within the Cygwin environment. Binaries compiled in WSL are Linux binaries and therefore require the WSL environment to run on Windows.
33-
3431
## Linux
3532

3633

0 commit comments

Comments
 (0)