Commit 2d6a956d8134e8111e7dcbb833b63c6fd91ba956
Committed by
GitHub
1 parent
41a0c7d5
Exists in
master
and in
3 other branches
Update README.md
Showing
1 changed file
with
20 additions
and
1 deletions
Show diff stats
README.md
| @@ -33,7 +33,7 @@ For the supported distributions get the install repositories and instructions fr | @@ -33,7 +33,7 @@ For the supported distributions get the install repositories and instructions fr | ||
| 33 | 33 | ||
| 34 | ## Building for Windows | 34 | ## Building for Windows |
| 35 | 35 | ||
| 36 | -### Cross-compiling on SuSE Linux (Native or WSL) - The easier way! | 36 | +### Cross-compiling on SuSE Linux (Native or WSL) |
| 37 | 37 | ||
| 38 | 1. Add the MinGW Repositories | 38 | 1. Add the MinGW Repositories |
| 39 | 39 | ||
| @@ -50,6 +50,25 @@ For the supported distributions get the install repositories and instructions fr | @@ -50,6 +50,25 @@ For the supported distributions get the install repositories and instructions fr | ||
| 50 | ./pack.sh --pre-reqs | 50 | ./pack.sh --pre-reqs |
| 51 | ``` | 51 | ``` |
| 52 | 52 | ||
| 53 | +### Windows native with MSYS2 | ||
| 54 | + | ||
| 55 | +1. Build and install [libv3270](../../../libv3270) | ||
| 56 | + | ||
| 57 | +2. Get pw3270 sources from git | ||
| 58 | + | ||
| 59 | + ``` | ||
| 60 | + $ git clone https://github.com/PerryWerneck/pw3270.git ./pw3270 | ||
| 61 | + ``` | ||
| 62 | + | ||
| 63 | +3. Build library using the mingw shell | ||
| 64 | + | ||
| 65 | + ``` | ||
| 66 | + $ cd pw3270 | ||
| 67 | + $ ./autogen.sh | ||
| 68 | + $ make all | ||
| 69 | + ``` | ||
| 70 | + | ||
| 71 | + | ||
| 53 | ## Building for macOS (using homebrew) | 72 | ## Building for macOS (using homebrew) |
| 54 | 73 | ||
| 55 | 1. Build and install [libv3270](../../../libv3270) | 74 | 1. Build and install [libv3270](../../../libv3270) |