NOTE: in the future, prebuilt binaries will be available.
You will need:
- CMake
- GNU Make (
gmake
) - a POSIX-compliant shell (e.g. bash or dash)
- a C99 compiler (tested with Clang, GCC, and TCC)
scdoc
- TCL (optional, only required for test suite)
There are two methods you may use to retrieve the source: via
git
, or downloading a tarball from the releases.
via git:
$ git clone https://git.sr.ht/~kiedtl/bcc.git --recurse --depth=1
via source:
TODO: add
With CMake:
$ mkdir -p build
$ cd build
$ cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_UNITY_BUILD=True
# make install
With GNU Make:
$ vi config.mk # do your configuring here
# make install