Created originally as part of PW3270 application.

Instalation
Linux

Windows
Building for Linux
Requirements
Building
Building for windows
Cross-compiling on SuSE Linux (Native or WSL)
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
Get libv3270 sources from git
git clone https://github.com/PerryWerneck/libv3270.git ./v3270
Install 64 bits cross compilers
./v3270/win/install-cross.sh --64
Configure 64 bits build environment
./v3270/win/win-configure.sh --64
Build
cd v3270
make clean
make all
Windows native with MSYS2
- Build and install lib3270
Install the required libraries
pacman -S mingw-w64-x86_64-gtk3
Get libv3270 sources from git
git clone https://github.com/PerryWerneck/libv3270.git ./libv3270
Build library using the mingw shell
cd libv3270
./autogen.sh
make all
Building for macOS
Using homebrew
- Build and install lib3270
Install additional dependencies
Configure, build and install
./autogen.sh --prefix="$(brew --cellar)/libv3270/5.4"
make all && make install
brew link libv3270
To uninstall
```shell
brew unlink libv3270
rm -fr "$(brew --cellar)/libv3270"
```
Using jhbuild
Install jhbuild and GTK-OSX
https://wiki.gnome.org/Projects/GTK/OSX/Building
build
jhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/libv3270/master/mac/libv3270.modules build libv3270