Commit 482435e1fcd55cca81b829d5c5180230e47670e0

Authored by Perry Werneck
1 parent 7142902a
Exists in master and in 1 other branch develop

Updating README.md

Showing 1 changed file with 46 additions and 47 deletions   Show diff stats
README.md
1   -IPC (interprocess communication) plugin & library for pw3270.
2   -=============================================================
  1 +## IPC (interprocess communication) plugin & library for pw3270.
3 2  
4 3 Created originally as part of PW3270 application.
5 4  
... ... @@ -10,99 +9,99 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
10 9 ![Analytics](https://ga-beacon.appspot.com/G-RSMGQ9Q5BG/github/libipc3270)
11 10 ![Downloads](https://img.shields.io/github/downloads/PerryWerneck/libipc3270/total.svg)
12 11  
  12 +## Instalation
13 13  
14   -Installation repositories
15   -=========================
  14 +### Linux
16 15  
17   -The latest version packaged for many linux distributions can be found in SuSE Build Service (https://build.opensuse.org/project/show/home:PerryWerneck:pw3270)
  16 +For the supported distributions get the install repositories and instructions from https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libipc3270
18 17  
19   -Requirements
20   -============
  18 +## Building for Linux
21 19  
22   - * GTK-3 (https://www.gtk.org/)
23   - * lib3270 (https://github.com/PerryWerneck/lib3270)
24   - * libv3270 (https://github.com/PerryWerneck/libv3270)
  20 +### Requirements
25 21  
  22 + * [GTK3](https://www.gtk.org/)
  23 + * [lib3270](../../../lib3270)
  24 + * [libv3270](../../../libv3270)
26 25  
27   -Building for Linux
28   -==================
  26 +### Building
29 27  
  28 + * TODO
30 29  
31   -Cross-compiling for Windows
32   -===========================
  30 +## Building for windows
33 31  
34   -Cross-compiling on SuSE Linux (Native or WSL)
35   ----------------------------------------------
  32 +### Cross-compiling on SuSE Linux (Native or WSL)
36 33  
37   -1. First add the MinGW Repositories for your SuSE version from:
  34 +1. Add the MinGW Repositories
38 35  
39   - * https://build.opensuse.org/project/show/windows:mingw:win32
40   - * https://build.opensuse.org/project/show/windows:mingw:win64
41   - * https://build.opensuse.org/project/show/home:PerryWerneck:pw3270
42   -
  36 + ```
  37 + $ sudo zypper ar obs://windows:mingw:win32 mingw32
  38 + $ sudo zypper ar obs://windows:mingw:win64 mingw64
  39 + $ sudo zypper ar obs://home:PerryWerneck:pw3270 pw3270
  40 + $ sudo zypper ref
  41 + ```
43 42 2. Get sources from git
44 43  
45   - * git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
  44 + ```shell
  45 + $ git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
  46 + ```
46 47  
47 48 3. Install cross compilers
48 49  
49   -3. Configure build
50   -
51   -4. Build
52   -
53   - * cd libipc3270
54   - * make clean
55   - * make all
  50 + TODO
56 51  
  52 +3. Configure build
57 53  
58   -Compiling for Windows (With MSYS2)
59   -----------------------------------
  54 + TODO
60 55  
61   -1. Build and install lib3270
  56 +4. Build
62 57  
63   - * Follow the guide on https://github.com/PerryWerneck/lib3270
  58 + ```shell
  59 + $ cd libipc3270
  60 + $ make clean
  61 + $ make all
  62 + ```
64 63  
65   -2. Build and install libv3270
  64 +### Windows native with MSYS2
66 65  
67   - * Follow the guide on https://github.com/PerryWerneck/libv3270
  66 +1. Build and install [libv3270](../../../libv3270)
68 67  
69   -3. Get sources from git
  68 +2. Get sources from git
70 69  
71 70 ```shell
72   - git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
  71 + $ git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
73 72 ```
  73 +
74 74 4. Build library using the mingw shell
75 75  
76 76 ```shell
77   - cd libipc3270
78   - ./autogen.sh
79   - make all
  77 + $ cd libipc3270
  78 + $ ./autogen.sh
  79 + $ make all
80 80 ```
81 81 5. Install
82 82  
83 83 ```shell
84   - make install
  84 + $ make install
85 85 ```
86 86  
87   -Compiling for Windows (With MSVC)
88   ----------------------------------
  87 +### Windows native with MSVC
89 88  
90 89 1. Install pw3270 with remote control and sdk modules
91 90  
92 91 2. Install git for windows
93 92  
94   -3. Download and install Visual Studio Build Tools (https://visualstudio.microsoft.com/pt-br/downloads/)
  93 +3. Download and install [Visual Studio Build Tools](https://visualstudio.microsoft.com/pt-br/downloads/)
95 94  
96 95 4. Get sources from git
97 96  
98 97 ```shell
99   - git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270
  98 + $ git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270
100 99 ```
101 100  
102 101 5. Build and install
103 102  
104 103 ```shell
105   - cd ipc3270
106   - install.bat
  104 + $ cd ipc3270
  105 + $ install.bat
107 106 ```
108 107  
... ...