https://github.com/perrywerneck/libhllapi
HLLAPI library for lib3270/pw3270
https://github.com/perrywerneck/libhllapi
Last synced: 2 months ago
JSON representation
HLLAPI library for lib3270/pw3270
- Host: GitHub
- URL: https://github.com/perrywerneck/libhllapi
- Owner: PerryWerneck
- License: lgpl-3.0
- Created: 2019-02-25T14:44:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T11:36:16.000Z (about 2 years ago)
- Last Synced: 2025-01-01T21:46:24.390Z (4 months ago)
- Language: C++
- Homepage:
- Size: 324 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
## HLLAPI library for lib3270/pw3270
[](https://www.gnu.org/licenses/gpl-3.0)

[](https://github.com/PerryWerneck/libhllapi/actions/workflows/publish.yml)
[](https://build.opensuse.org/package/show/home:PerryWerneck:pw3270/libhllapi)## Installation
### Linux
You can download installation package for supported distributions in Open Build Service.
[
](https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libhllapi)
### Windows
TODO
## Building for Linux
1. Build and install [libipc3270](../../../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
```shell
$ 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
```shell
$ cd libhllapi
$ ./win/pack.sh
```### Windows native with MSYS2
TODO
### Windows native with MSVC
1. Download and install Visual Studio Build Tools (https://visualstudio.microsoft.com/pt-br/downloads/)
2. Download and install git for windows
3. Get libhllapi sources from git
```shell
git clone https://github.com/PerryWerneck/libhllapi.git ./libhllapi
```4. Download latest build of the 'glue' library.
```shell
cd libhllapi
wget https://github.com/PerryWerneck/libipc3270/releases/download/5.5/msvc-libipc3270.zip
7z x msvc-libipc3270.zip -y -oipc3270
```5. Make
```shell
nmake /f win\Makefile-ci.msc LIB3270_SDK_PATH=ipc3270 DESTDIR=hllapi.msvc install
```