path: root/
diff options
authorSteven G. Johnson <>2019-05-08 11:20:25 -0400
committerGitHub <>2019-05-08 11:20:25 -0400
commit1fcb211035cf8344e1ac06a2ed08286afa22cd5f (patch)
treeaa250a03e5d3ab2b6012a18a193933fe000a088f /
parent229fb8483eb8188c3834a08b494d726503d07e33 (diff)
more compile info
Diffstat (limited to '')
1 files changed, 16 insertions, 10 deletions
diff --git a/ b/
index deb96be..4c76aee 100644
--- a/
+++ b/
@@ -31,20 +31,26 @@ the included `` file for more detailed information.
## Quick Start
-For compilation of the C library run `make`.
+For compilation of the C library run `make`. You can also install the library and header file with `make install` (by default into `/usr/local/lib` and `/usr/local/bin`), but this can be changed by `make prefix=/some/dir`).
+Alternatively, you can compile with `cmake`, e.g. by
+mkdir build
+cd build
+cmake ..
+### Using other compilers
+The included `Makefile` supports GNU/Linux flavors and MacOS with `gcc`-like compilers; Windows users will typically use `cmake`.
-### Compiling on HP-UX
-Have HP aCC, GNU Make, and either GNU coreutils (`install`) or GNU libtool
+For other Unix-like systems and other compilers, you may need to pass modified settings to `make` in order to use the correct compilation flags for building shared libraries on your system.
+For HP-UX with HP's `aCC` compiler and GNU Make (installed as `gmake`), you can compile with
-$ gmake CC=/opt/aCC/bin/aCC CFLAGS="" PICFLAG='+z' C99FLAG=-Ae INSTALL=.. \
- prefix=$PREFIX libdir=$PREFIX/lib/hpux32 install
+gmake CC=/opt/aCC/bin/aCC CFLAGS="+O2" PICFLAG="+z" C99FLAG="-Ae" WCFLAGS="+w" LDFLAG_SHARED="-b" SOFLAG="-Wl,+h"
-where `INSTALL` points either to `install` or `install-sh`, `PREFIX` points to
-your preferred target, e.g., `/opt` in System V Unix.
+To run `gmake install` you will need GNU coreutils for the `install` command, and you may want to pass `prefix=/opt libdir=/opt/lib/hpux32` or similar to change the installation location.
## General Information