Commit a4003c82c4bcd3352700d73edd37f7f2ee97a8d4
1 parent
2a70d81d
Exists in
master
and in
1 other branch
Updating README.
Showing
1 changed file
with
28 additions
and
21 deletions
Show diff stats
README.md
| ... | ... | @@ -40,46 +40,53 @@ sudo zypper ref |
| 40 | 40 | |
| 41 | 41 | 2. Get libv3270 sources from git |
| 42 | 42 | |
| 43 | - * git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 43 | +``` | |
| 44 | +git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 45 | +``` | |
| 44 | 46 | |
| 45 | -3. Install cross compilers | |
| 47 | +3. Install 64 bits cross compilers | |
| 46 | 48 | |
| 47 | - * ./v3270/win/install-cross.sh --32 (for 32 bits) | |
| 48 | - * ./v3270/win/install-cross.sh --64 (for 64 bits) | |
| 49 | - * ./v3270/win/install-cross.sh --all (for 32 and 64 bits) | |
| 49 | +``` | |
| 50 | +./v3270/win/install-cross.sh --64 | |
| 51 | +``` | |
| 50 | 52 | |
| 51 | -3. Configure build | |
| 53 | +3. Configure 64 bits build environment | |
| 52 | 54 | |
| 53 | - * ./v3270/win/win-configure.sh --32 (for 32 bits) | |
| 54 | - * ./v3270/win/win-configure.sh --64 (for 64 bits) | |
| 55 | +``` | |
| 56 | +./v3270/win/win-configure.sh --64 | |
| 57 | +``` | |
| 55 | 58 | |
| 56 | 59 | 4. Build |
| 57 | 60 | |
| 58 | - * cd v3270 | |
| 59 | - * make clean | |
| 60 | - * make all | |
| 61 | - | |
| 61 | +``` | |
| 62 | +cd v3270 | |
| 63 | +make clean | |
| 64 | +make all | |
| 65 | +``` | |
| 62 | 66 | |
| 63 | 67 | ### Compiling on Windows (With MSYS2) |
| 64 | 68 | |
| 65 | -1. Build and install lib3270 | |
| 66 | - | |
| 67 | - * Follow the guide on https://github.com/PerryWerneck/lib3270 | |
| 69 | +1. Build and install [lib3270](../../../lib3270) | |
| 68 | 70 | |
| 69 | 71 | 2. Install the required libraries |
| 70 | 72 | |
| 71 | - * pacman -S mingw-w64-x86_64-gtk3 | |
| 73 | +``` | |
| 74 | +pacman -S mingw-w64-x86_64-gtk3 | |
| 75 | +``` | |
| 72 | 76 | |
| 73 | 77 | 2. Get libv3270 sources from git |
| 74 | 78 | |
| 75 | - * git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 79 | +``` | |
| 80 | +git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 81 | +``` | |
| 76 | 82 | |
| 77 | 83 | 4. Build library using the mingw shell |
| 78 | 84 | |
| 79 | - * cd libv3270 | |
| 80 | - * ./autogen.sh | |
| 81 | - * make all | |
| 82 | - | |
| 85 | +``` | |
| 86 | +cd libv3270 | |
| 87 | +./autogen.sh | |
| 88 | +make all | |
| 89 | +``` | |
| 83 | 90 | |
| 84 | 91 | ## Building for macOS (using homebrew) |
| 85 | 92 | ... | ... |