Skip to content

PerryWerneck/libipc3270

Repository files navigation

IPC (interprocess communication) library for pw3270.

Created originally as part of PW3270 application this library is designed to act as a standard ABI for lib320 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 and pw3270's python library.

License: GPL v3 CodeQL build result

Instalation

Linux

Download from open build service

Windows

The MSVC and MinGW libraries for windows can be found on Releases

Building for Linux

Requirements

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

    git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
  3. Install 64 bits cross compilers

    ./libipc3270/win/install-cross.sh --64
  4. Configure 64 bits build environment

     ```shell
     ./libipc3270/win/win-configure.sh --64
     ```
    
  5. Build

    cd libipc3270
    make clean
    make all

Windows native with MSYS2

  1. Build and install lib3270

  2. Get sources from git

    git clone https://github.com/PerryWerneck/libipc3270.git ./libipc3270
  3. Build library using the mingw shell

    cd libipc3270
    ./autogen.sh
    make all
  4. Install

    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

  4. Get sources from git

    git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270
  5. Build and install

    cd ipc3270
    install.bat