summaryrefslogtreecommitdiffstats
path: root/third_party/ots/INSTALL
blob: da352543979758621249948c72a3b057bcfa0f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Instructions below are for building standalone OTS utilities, if you want to
use OTS as a library then the recommended way is to copy the source code and
integrate it into your existing build system. Our build system does not build
a shared library intentionally.

General build instructions:

  1. If you are building from cloned Git repository, you will need to update
     the git sub modules, as well as run autoreconf. A convenience script is
     provided:

     $ ./autogen.sh

  2. Build OTS

     $ ./configure
     $ make

  3. Run the tests (if you wish)

     $ make check

Building on Windows:

   1. A POSIX-compatible environment is required to build OTS, MSYS2 is
      recommended. Follow the installation instructions on
	  https://msys2.github.io/.

   2. Install the required packages:

      $ pacman -S autoconf automake pkg-config gcc make zlib-devel

   3. Follow the general build instructions above.