Commit b127f4796312851274860e757251906b2d53092e
Committed by
GitHub
1 parent
4ad6ff12
Exists in
master
and in
3 other branches
Update README.md
Showing
1 changed file
with
10 additions
and
9 deletions
Show diff stats
README.md
| @@ -90,25 +90,27 @@ Cross-compiling on SuSE Linux (Native or WSL) | @@ -90,25 +90,27 @@ Cross-compiling on SuSE Linux (Native or WSL) | ||
| 90 | Compiling for Windows (With MSYS2) | 90 | Compiling for Windows (With MSYS2) |
| 91 | ---------------------------------- | 91 | ---------------------------------- |
| 92 | 92 | ||
| 93 | -1. Install MSYS2 | 93 | +1. Install and update MSYS2 |
| 94 | + | ||
| 95 | + * Download and install msys2 from https://www.msys2.org/ (Don't forget to update the package database and core system packages) | ||
| 96 | + ``` | ||
| 97 | +2. Update system path | ||
| 94 | 98 | ||
| 95 | - * Download and install msys2 from https://www.msys2.org/ | ||
| 96 | - * Open a msys2 terminal and run "pacman -Syu" repeatedly | ||
| 97 | * Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path | 99 | * Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path |
| 98 | 100 | ||
| 99 | -2. Install devel packages | 101 | +3. Install devel packages |
| 100 | 102 | ||
| 101 | ```shell | 103 | ```shell |
| 102 | - $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config openssl-devel | 104 | + $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config openssl-devel gettext-devel libintl |
| 103 | ``` | 105 | ``` |
| 104 | 106 | ||
| 105 | -3. Get lib3270 sources from git using the mingw shell | 107 | +4. Get lib3270 sources from git using the mingw shell |
| 106 | 108 | ||
| 107 | ```shell | 109 | ```shell |
| 108 | $ git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 | 110 | $ git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 |
| 109 | ``` | 111 | ``` |
| 110 | 112 | ||
| 111 | -4. Build library using the mingw shell | 113 | +5. Build library using the mingw shell |
| 112 | 114 | ||
| 113 | ```shell | 115 | ```shell |
| 114 | $ cd lib3270 | 116 | $ cd lib3270 |
| @@ -116,13 +118,12 @@ Compiling for Windows (With MSYS2) | @@ -116,13 +118,12 @@ Compiling for Windows (With MSYS2) | ||
| 116 | $ make all | 118 | $ make all |
| 117 | ``` | 119 | ``` |
| 118 | 120 | ||
| 119 | -5. Install | 121 | +6. Install |
| 120 | 122 | ||
| 121 | ```shell | 123 | ```shell |
| 122 | $ make install | 124 | $ make install |
| 123 | ``` | 125 | ``` |
| 124 | 126 | ||
| 125 | - | ||
| 126 | Building for macOS (using homebrew) | 127 | Building for macOS (using homebrew) |
| 127 | =================================== | 128 | =================================== |
| 128 | 129 |