Building
Minimal Requirements
Development Requirements
The following dependencies are needed in case of development build:
autotools-dev
autoconf
automake
git
cppcheck4
- 4
Optional: needed only for userspace library static code analysis
Build
$ ./configure [OPTION]... [VAR=VALUE]... && make [TARGET]...
To assign environment variables (e.g., CC
, CFLAGS
…), specify them as
VAR=VALUE
. See below for descriptions of some of the useful variables.
Options
|
Enable examples build |
|
Enable benchmark build |
|
Enable documentation build |
|
Install architecture-independent files in
|
|
Install architecture-dependent files in
|
|
User executables; default to |
|
Object code libraries; default to
|
|
C header files; default to |
|
Read-only architecture-independent data root;
default to |
|
Read-only architecture-independent data; default to
|
|
Documentation root; default to
|
|
Html documentation; default to |
|
Pdf documentation; default to |
|
Configure for building on |
|
Cross-compile to build programs to run on |
|
Less verbose build output (undo: |
|
Verbose build output (undo: |
Variables
Some influential environment variables:
|
C compiler command |
|
C compiler flags |
|
Linker flags |
|
Libraries to pass to the linker |
|
C preprocessor flags |
|
User-defined run-time library search path. |
|
C preprocessor |
Targets
|
Run code check |
|
Build the html documentation |
|
Build the pdf documentation |
|
Install into the system |
|
Install tests into the system |
|
Uninstall from the system |
|
Delete all files in the current directory that are normally created by building the program |
|
Delete all files in the current directory that are created by configuring or building the program |
Minimal installation steps
$ ./configure
$ make
$ make check
$ sudo make install
$ sudo ldconfig
$ sudo modprobe ums