Commit 08edb9ed1ac375ec2cce2b5df634f72a919444bc

Authored by Perry Werneck
Committed by GitHub
1 parent 3feee959

Update README.md

Showing 1 changed file with 19 additions and 20 deletions   Show diff stats
@@ -20,7 +20,7 @@ Building for Linux @@ -20,7 +20,7 @@ Building for Linux
20 1. Get lib3270 sources from git 20 1. Get lib3270 sources from git
21 21
22 ```shell 22 ```shell
23 - git clone http://softwarepublico.gov.br/gitlab/pw3270/lib3270.git ./lib3270 23 + $ git clone http://softwarepublico.gov.br/gitlab/pw3270/lib3270.git ./lib3270
24 ``` 24 ```
25 25
26 2. Install the required libraries 26 2. Install the required libraries
@@ -42,12 +42,11 @@ Building for Linux @@ -42,12 +42,11 @@ Building for Linux
42 3. Configure and build 42 3. Configure and build
43 43
44 ```shell 44 ```shell
45 - ./autogen.sh  
46 - make clean  
47 - make all 45 + $ ./autogen.sh
  46 + $ make clean
  47 + $ make all
48 ``` 48 ```
49 49
50 -  
51 Cross-compiling for Windows 50 Cross-compiling for Windows
52 =========================== 51 ===========================
53 52
@@ -57,35 +56,35 @@ Cross-compiling on SuSE Linux (Native or WSL) @@ -57,35 +56,35 @@ Cross-compiling on SuSE Linux (Native or WSL)
57 1. First add the MinGW Repositories for your SuSE version from: 56 1. First add the MinGW Repositories for your SuSE version from:
58 57
59 ```shell 58 ```shell
60 - sudo zypper ar obs://windows:mingw:win32 mingw32  
61 - sudo zypper ar obs://windows:mingw:win64 mingw64  
62 - sudo zypper ref 59 + $ sudo zypper ar obs://windows:mingw:win32 mingw32
  60 + $ sudo zypper ar obs://windows:mingw:win64 mingw64
  61 + $ sudo zypper ref
63 ``` 62 ```
64 63
65 2. Get lib3270 sources from git 64 2. Get lib3270 sources from git
66 65
67 ```shell 66 ```shell
68 - git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 67 + $ git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
69 ``` 68 ```
70 69
71 3. Install cross compilers 70 3. Install cross compilers
72 71
73 ```shell 72 ```shell
74 - ./lib3270/win/install-cross.sh --all (for 32 and 64 bits) 73 + $ ./lib3270/win/install-cross.sh --all (for 32 and 64 bits)
75 ``` 74 ```
76 75
77 3. Configure build 76 3. Configure build
78 77
79 ```shell 78 ```shell
80 - ./lib3270/win/win-configure.sh --64 (for 64 bits) 79 + $ ./lib3270/win/win-configure.sh --64 (for 64 bits)
81 ``` 80 ```
82 81
83 4. Build 82 4. Build
84 83
85 ```shell 84 ```shell
86 - cd lib3270  
87 - make clean  
88 - make all 85 + $ cd lib3270
  86 + $ make clean
  87 + $ make all
89 ``` 88 ```
90 89
91 Compiling for Windows (With MSYS2) 90 Compiling for Windows (With MSYS2)
@@ -100,27 +99,27 @@ Compiling for Windows (With MSYS2) @@ -100,27 +99,27 @@ Compiling for Windows (With MSYS2)
100 2. Install devel packages 99 2. Install devel packages
101 100
102 ```shell 101 ```shell
103 - pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config 102 + $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git openssl pkg-config
104 ``` 103 ```
105 104
106 3. Get lib3270 sources from git using the mingw shell 105 3. Get lib3270 sources from git using the mingw shell
107 106
108 ```shell 107 ```shell
109 - git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 108 + $ git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
110 ``` 109 ```
111 110
112 4. Build library using the mingw shell 111 4. Build library using the mingw shell
113 112
114 ```shell 113 ```shell
115 - cd lib3270  
116 - ./autogen.sh  
117 - make all 114 + $ cd lib3270
  115 + $ ./autogen.sh
  116 + $ make all
118 ``` 117 ```
119 118
120 5. Install 119 5. Install
121 120
122 ```shell 121 ```shell
123 - make install 122 + $ make install
124 ``` 123 ```
125 124
126 125