From b127f4796312851274860e757251906b2d53092e Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 9 Jul 2020 19:57:38 -0300 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b584621..6f6e2f3 100644 --- a/README.md +++ b/README.md @@ -90,25 +90,27 @@ Cross-compiling on SuSE Linux (Native or WSL) Compiling for Windows (With MSYS2) ---------------------------------- -1. Install MSYS2 +1. Install and update MSYS2 + + * Download and install msys2 from https://www.msys2.org/ (Don't forget to update the package database and core system packages) + ``` +2. Update system path - * Download and install msys2 from https://www.msys2.org/ - * Open a msys2 terminal and run "pacman -Syu" repeatedly * Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path -2. Install devel packages +3. Install devel packages ```shell - $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config openssl-devel + $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config openssl-devel gettext-devel libintl ``` -3. Get lib3270 sources from git using the mingw shell +4. Get lib3270 sources from git using the mingw shell ```shell $ git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 ``` -4. Build library using the mingw shell +5. Build library using the mingw shell ```shell $ cd lib3270 @@ -116,13 +118,12 @@ Compiling for Windows (With MSYS2) $ make all ``` -5. Install +6. Install ```shell $ make install ``` - Building for macOS (using homebrew) =================================== -- libgit2 0.21.2