README.md

HLLAPI library for lib3270/pw3270

License: GPL v3 CodeQL Analytics Downloads

Installation

Linux

For the supported distributions get the install repositories and instructions from https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libhllapi

Windows

TODO

Building for Linux

  1. Build and install libipc3270

  2. Get hllapi sources from git

    $ git clone https://github.com/PerryWerneck/libhllapi.git
    
  3. Build and install

    $ cd libhllapi
    $ ./autogen.sh
    $ make all
    $ sudo make install
    

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 hllapi sources from git

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

    $ ./libhllapi/win/install-cross.sh --64
    
  4. Run the build script

    $ cd libhllapi
    $ ./win/pack.sh
    

Windows native with MSYS2

  1. Build and install libipc3270

  2. Get hllapi sources from git

    $ git clone https://github.com/PerryWerneck/libhllapi.git
    
  3. Build and install

    $ cd libhllapi
    $ ./autogen.sh
    $ make all
    $ make install
    

Windows native with MSVC

  1. Install pw3270 with remote control and sdk modules

  2. Download and install Visual Studio Build Tools (https://visualstudio.microsoft.com/pt-br/downloads/)

  3. Download and install git for windows

  4. Build and install the "glue" library using the MSVC Native tools command prompt as administrator.

    git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270
    cd ipc3270
    install.bat
    
  5. Build and install hllapi library using the MSVC Native tools command prompt as administrator.

    git clone https://github.com/PerryWerneck/libhllapi.git ./hllapi
    cd hllapi
    install.bat