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