Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perrywerneck/libipc3270
IPC (Interprocess communication) client library for pw3270
https://github.com/perrywerneck/libipc3270
3270 linux mainframe
Last synced: 5 days ago
JSON representation
IPC (Interprocess communication) client library for pw3270
- Host: GitHub
- URL: https://github.com/perrywerneck/libipc3270
- Owner: PerryWerneck
- License: lgpl-3.0
- Created: 2018-12-20T10:57:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T10:26:48.000Z (over 1 year ago)
- Last Synced: 2024-11-08T19:14:27.878Z (about 2 months ago)
- Topics: 3270, linux, mainframe
- Language: C++
- Homepage:
- Size: 2.89 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## IPC (interprocess communication) library for pw3270.
Created originally as part of [PW3270 application](../../../pw3270) this library is designed to act as a standard ABI for [lib320](../../../lib3270) and pw3270 language bindings using the same objects for direct lib3270 calls and IPC based requests to the pw3270 GUI application. It's beeing used on [libhllapi](../../../libhllapi) and [pw3270's python library](../../../python3-tn3270).
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![CodeQL](https://github.com/PerryWerneck/libipc3270/workflows/CodeQL/badge.svg)
[![build result](https://build.opensuse.org/projects/home:PerryWerneck:pw3270/packages/libipc3270/badge.svg?type=percent)](https://build.opensuse.org/package/show/home:PerryWerneck:pw3270/libipc3270)## Instalation
### Linux
[](https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libipc3270)
### Windows
The MSVC and MinGW libraries for windows can be found on [Releases](../../releases)
## Building for Linux
### Requirements
* [lib3270](../../../lib3270)
### Building
* TODO
## Building for windows
### Cross-compiling on SuSE Linux (Native or WSL)
1. Add the MinGW Repositories
```
sudo zypper ar obs://windows:mingw:win32 mingw32
sudo zypper ar obs://windows:mingw:win64 mingw64
sudo zypper ar obs://home:PerryWerneck:pw3270 pw3270
sudo zypper ref
```
2. Get sources from git```shell
git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
```3. Install 64 bits cross compilers
```shell
./libipc3270/win/install-cross.sh --64
```3. Configure 64 bits build environment
```shell
./libipc3270/win/win-configure.sh --64
```4. Build
```shell
cd libipc3270
make clean
make all
```### Windows native with MSYS2
1. Build and install [lib3270](../../../lib3270)
2. Get sources from git
```shell
git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
```4. Build library using the mingw shell
```shell
cd libipc3270
./autogen.sh
make all
```
5. Install```shell
make install
```### Windows native with MSVC (untested)
1. Install pw3270 with sdk modules
2. Install git for windows
3. Download and install [Visual Studio Build Tools](https://visualstudio.microsoft.com/pt-br/downloads/)
4. Get sources from git
```shell
git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270
```5. Build and install
```shell
cd ipc3270
install.bat
```