| OLD | NEW |
| 1 Instructions below are for building standalone OTS utilities, if you want to |
| 2 use OTS as a library then the recommended way is to copy the source code and |
| 3 integrate it into your existing build system. Our build system does not build |
| 4 a shared library intentionally. |
| 5 |
| 1 General build instructions: | 6 General build instructions: |
| 2 | 7 |
| 3 1. If you are building from cloned Git repository, you will need to update | 8 1. If you are building from cloned Git repository, you will need to update |
| 4 the git sub modules, as well as run autoreconf. A convenience script is | 9 the git sub modules, as well as run autoreconf. A convenience script is |
| 5 provided: | 10 provided: |
| 6 | 11 |
| 7 $ ./autogen.sh | 12 $ ./autogen.sh |
| 8 | 13 |
| 9 2. Build OTS | 14 2. Build OTS |
| 10 | 15 |
| 11 $ ./configure | 16 $ ./configure |
| 12 $ make | 17 $ make |
| 13 | 18 |
| 14 3. Run the tests (if you wish) | 19 3. Run the tests (if you wish) |
| 15 | 20 |
| 16 $ make check | 21 $ make check |
| 17 | 22 |
| 18 Building on Windows: | 23 Building on Windows: |
| 19 | 24 |
| 20 1. A POSIX-compatible environment is required to build OTS, MSYS2 is | 25 1. A POSIX-compatible environment is required to build OTS, MSYS2 is |
| 21 recommended. Follow the installation instructions on | 26 recommended. Follow the installation instructions on |
| 22 https://msys2.github.io/. | 27 https://msys2.github.io/. |
| 23 | 28 |
| 24 2. Install the required packages: | 29 2. Install the required packages: |
| 25 | 30 |
| 26 $ pacman -S autoconf automake pkg-config gcc make zlib-devel | 31 $ pacman -S autoconf automake pkg-config gcc make zlib-devel |
| 27 | 32 |
| 28 3. Follow the general build instructions above. | 33 3. Follow the general build instructions above. |
| OLD | NEW |