Commit 4a7428ad554fd11f99cb82fee69c5007471099e6
Committed by
GitHub
1 parent
6b341f53
Exists in
master
and in
1 other branch
Update README.md
Showing
1 changed file
with
32 additions
and
32 deletions
Show diff stats
README.md
| ... | ... | @@ -32,37 +32,37 @@ For the supported distributions get the install repositories and instructions fr |
| 32 | 32 | |
| 33 | 33 | 1. Add the MinGW Repositories |
| 34 | 34 | |
| 35 | -``` | |
| 36 | -$ sudo zypper ar obs://windows:mingw:win32 mingw32 | |
| 37 | -$ sudo zypper ar obs://windows:mingw:win64 mingw64 | |
| 38 | -$ sudo zypper ref | |
| 39 | -``` | |
| 35 | + ``` | |
| 36 | + $ sudo zypper ar obs://windows:mingw:win32 mingw32 | |
| 37 | + $ sudo zypper ar obs://windows:mingw:win64 mingw64 | |
| 38 | + $ sudo zypper ref | |
| 39 | + ``` | |
| 40 | 40 | |
| 41 | 41 | 2. Get libv3270 sources from git |
| 42 | 42 | |
| 43 | -``` | |
| 44 | -$ git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 45 | -``` | |
| 43 | + ``` | |
| 44 | + $ git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 45 | + ``` | |
| 46 | 46 | |
| 47 | 47 | 3. Install 64 bits cross compilers |
| 48 | 48 | |
| 49 | -``` | |
| 50 | -$ ./v3270/win/install-cross.sh --64 | |
| 51 | -``` | |
| 49 | + ``` | |
| 50 | + $ ./v3270/win/install-cross.sh --64 | |
| 51 | + ``` | |
| 52 | 52 | |
| 53 | -3. Configure 64 bits build environment | |
| 53 | +4. Configure 64 bits build environment | |
| 54 | 54 | |
| 55 | -``` | |
| 56 | -$ ./v3270/win/win-configure.sh --64 | |
| 57 | -``` | |
| 55 | + ``` | |
| 56 | + $ ./v3270/win/win-configure.sh --64 | |
| 57 | + ``` | |
| 58 | 58 | |
| 59 | -4. Build | |
| 59 | +5. Build | |
| 60 | 60 | |
| 61 | -``` | |
| 62 | -$ cd v3270 | |
| 63 | -$ make clean | |
| 64 | -$ make all | |
| 65 | -``` | |
| 61 | + ``` | |
| 62 | + $ cd v3270 | |
| 63 | + $ make clean | |
| 64 | + $ make all | |
| 65 | + ``` | |
| 66 | 66 | |
| 67 | 67 | ### Windows native with MSYS2 |
| 68 | 68 | |
| ... | ... | @@ -70,23 +70,23 @@ $ make all |
| 70 | 70 | |
| 71 | 71 | 2. Install the required libraries |
| 72 | 72 | |
| 73 | -``` | |
| 74 | -$ pacman -S mingw-w64-x86_64-gtk3 | |
| 75 | -``` | |
| 73 | + ``` | |
| 74 | + $ pacman -S mingw-w64-x86_64-gtk3 | |
| 75 | + ``` | |
| 76 | 76 | |
| 77 | 77 | 2. Get libv3270 sources from git |
| 78 | 78 | |
| 79 | -``` | |
| 80 | -$ git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 81 | -``` | |
| 79 | + ``` | |
| 80 | + $ git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 81 | + ``` | |
| 82 | 82 | |
| 83 | 83 | 4. Build library using the mingw shell |
| 84 | 84 | |
| 85 | -``` | |
| 86 | -$ cd libv3270 | |
| 87 | -$ ./autogen.sh | |
| 88 | -$ make all | |
| 89 | -``` | |
| 85 | + ``` | |
| 86 | + $ cd libv3270 | |
| 87 | + $ ./autogen.sh | |
| 88 | + $ make all | |
| 89 | + ``` | |
| 90 | 90 | |
| 91 | 91 | ## Building for macOS (using homebrew) |
| 92 | 92 | ... | ... |