-
Notifications
You must be signed in to change notification settings - Fork 7
/
INSTALL
33 lines (21 loc) · 1.09 KB
/
INSTALL
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
The library requires that C99 integer types are available on the
target computer. Specifically the int8_t, int16_t, int32_t, int64_t
and their unsigned counterpart types. If these data types are not
available guesses are made in lmplatform.h.
-- Unix --
A simple 'make' on most Unix-like systems should build the library.
The included Makefile should work for most Unix-like environments and
most make variants; it is know to work with GNU make.
The CC and CFLAGS environment variables can be set to control the build.
By default a statically linked version of the library is built: 'libslink.a'.
With GCC, clang or compatible build tools it is possible to build a shared
library with 'make shared'.
-- macOS --
A static library can be compiled using the above Unix instructions,
just run 'make'.
Using GCC, clang or compatible build tools it is possible to build a dynamic
library with 'make dynamic'.
-- Windows (Win32) --
On a WIN32 platform the library can be compiled by using the
Nmake compatible Makefile.win (e.g. 'nmake -f Makefile.win'). The
default target is a static library 'libslink.lib'.