This is a common library for basic C/C++ language definitions used by all other LSP-related libraries.
It provides:
- Corresponding macros for architecture and platform detection.
- Some set of additional basic types.
- Macros for architecture-dependent assembly code and compilation.
- Error codes and functions to work with them.
The build and correct unit test execution has been confirmed for following platforms:
- FreeBSD
- GNU/Linux
- OpenBSD
- Windows 32-bit
- Windows 64-bit
The following packages need to be installed for building:
- gcc >= 4.9
- make >= 4.0
To build the library, perform the following commands:
make config # Configure the build
make fetch # Fetch dependencies from Git repository
make
sudo make install
To get more build options, run:
make help
To uninstall library, simply issue:
make uninstall
To clean all binary files, run:
make clean
To clean the whole project tree including configuration files, run:
make prune
- PVS-Studio - static analyzer for C, C++, C#, and Java code.