From a4003c82c4bcd3352700d73edd37f7f2ee97a8d4 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 18 May 2020 21:56:04 -0300 Subject: [PATCH] Updating README. --- README.md | 49 ++++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 7545028..135e6bc 100644 --- a/README.md +++ b/README.md @@ -40,46 +40,53 @@ sudo zypper ref 2. Get libv3270 sources from git - * git clone https://github.com/PerryWerneck/libv3270.git ./v3270 +``` +git clone https://github.com/PerryWerneck/libv3270.git ./v3270 +``` -3. Install cross compilers +3. Install 64 bits cross compilers - * ./v3270/win/install-cross.sh --32 (for 32 bits) - * ./v3270/win/install-cross.sh --64 (for 64 bits) - * ./v3270/win/install-cross.sh --all (for 32 and 64 bits) +``` +./v3270/win/install-cross.sh --64 +``` -3. Configure build +3. Configure 64 bits build environment - * ./v3270/win/win-configure.sh --32 (for 32 bits) - * ./v3270/win/win-configure.sh --64 (for 64 bits) +``` +./v3270/win/win-configure.sh --64 +``` 4. Build - * cd v3270 - * make clean - * make all - +``` +cd v3270 +make clean +make all +``` ### Compiling on Windows (With MSYS2) -1. Build and install lib3270 - - * Follow the guide on https://github.com/PerryWerneck/lib3270 +1. Build and install [lib3270](../../../lib3270) 2. Install the required libraries - * pacman -S mingw-w64-x86_64-gtk3 +``` +pacman -S mingw-w64-x86_64-gtk3 +``` 2. Get libv3270 sources from git - * git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 +``` +git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 +``` 4. Build library using the mingw shell - * cd libv3270 - * ./autogen.sh - * make all - +``` +cd libv3270 +./autogen.sh +make all +``` ## Building for macOS (using homebrew) -- libgit2 0.21.2