Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 837 Bytes

INSTALL.md

File metadata and controls

49 lines (34 loc) · 837 Bytes

Building from source

NOTE: in the future, prebuilt binaries will be available.

Dependencies

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)

Retrieve the source

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

Building/Installing

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