Skip to content

Commit 0b0f0a9

Browse files
committed
Tidy up Developing on Windows
1 parent 98025f5 commit 0b0f0a9

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

doc/developing_on_windows.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,30 @@ commands](https://github.com/msys2/msys2/wiki/Using-packages) that work with
1919
tools — should be started with `stack exec -- pacman`.
2020

2121
The Stack-supplied MSYS2 can itself be updated with the Stack-supplied `pacman`.
22-
See the MSYS2 guide ['III. Updating packages'](https://www.msys2.org/wiki/MSYS2-installation/). If the Stack-supplied `pacman` has a version that is
23-
5.0.1.6403 or greater (see `stack exec -- pacman --version`) then the command to
24-
update is simply:
22+
See the MSYS2 guide
23+
['III. Updating packages'](https://www.msys2.org/wiki/MSYS2-installation/). If
24+
the Stack-supplied `pacman` has a version that is 5.0.1.6403 or greater (see
25+
`stack exec -- pacman --version`) then the command to update is simply:
2526

2627
stack exec -- pacman -Syuu
2728

28-
This command may need to be run more than once, until everything is reported by `pacman` as 'up to date' and 'nothing to do'.
29+
This command may need to be run more than once, until everything is reported by
30+
`pacman` as 'up to date' and 'nothing to do'.
2931

3032
## Setup.hs ##
3133

32-
`Setup.hs` is automatically run inside the stack environment. So when
33-
you need to launch another tool you don't need to prefix the command
34-
with `stack exec --` within the custom `Setup.hs` file.
34+
`Setup.hs` is automatically run inside the Stack environment. So when you need
35+
to launch another tool you don't need to prefix the command with `stack exec --`
36+
within the custom `Setup.hs` file.
3537

3638
## Pacman packages to install for common Haskell packages ##
3739

38-
The following lists MSYS2 packages known to allow the installation of
39-
some common Haskell packages on Windows. Feel free to submit
40-
additional entries via a pull request.
40+
The following lists MSYS2 packages known to allow the installation of some
41+
common Haskell packages on Windows. Feel free to submit additional entries via a
42+
pull request.
4143

42-
* For [text-icu](https://github.com/bos/text-icu) install `mingw64/mingw-w64-x86_64-icu`
44+
* For [text-icu](https://github.com/bos/text-icu) install
45+
`mingw64/mingw-w64-x86_64-icu`
4346

4447
## CMake ##
4548

@@ -58,9 +61,9 @@ commands:
5861
stack exec -- pacman -S mingw-w64-x86_64-make
5962
stack exec -- pacman -S mingw-w64-x86_64-cmake
6063

61-
Even though Make and CMake are then both installed into the same
62-
environment, CMake still seems to have trouble to find Make. To help CMake
63-
find GCC and Make supply the following flags:
64+
Even though Make and CMake are then both installed into the same environment,
65+
CMake still seems to have trouble to find Make. To help CMake find GCC and Make
66+
supply the following flags:
6467

6568
-DCMAKE_C_COMPILER=path
6669
-DCMAKE_MAKE_PROGRAM=path

0 commit comments

Comments
 (0)