From 229fb8483eb8188c3834a08b494d726503d07e33 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Wed, 8 May 2019 02:02:19 +0200 Subject: Document HP-UX build support (#155) --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6223682..deb96be 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,19 @@ the included `LICENSE.md` file for more detailed information. For compilation of the C library run `make`. +### Compiling on HP-UX +Have HP aCC, GNU Make, and either GNU coreutils (`install`) or GNU libtool +installed. + +``` +$ gmake CC=/opt/aCC/bin/aCC CFLAGS="" PICFLAG='+z' C99FLAG=-Ae INSTALL=.. \ + WCFLAGS='+w' LDFLAG_SHARED=-b SOFLAG="-Wl,+h" \ + prefix=$PREFIX libdir=$PREFIX/lib/hpux32 install +``` + +where `INSTALL` points either to `install` or `install-sh`, `PREFIX` points to +your preferred target, e.g., `/opt` in System V Unix. + ## General Information The C library is found in this directory after successful compilation -- cgit v1.2.3