Skip to content
pjotrp edited this page Nov 29, 2014 · 9 revisions

For compilation you need either DMD compiler (install from repository of download from http://dlang.org/download.html) or LDC (https://github.com/ldc-developers/ldc)

You can either build executables separately (see Makefile goals), or build a single executable sambamba

Documentation

HTML versions of man pages are available for all tools:

How to compile

make

The executable sambamba will be in build/ directory. You can just copy it to /usr/local/bin or add the directory to PATH.

In order to compile with optimizations, use LDC compiler and sambamba-ldmd2-64 make target. Note that the resulting sambamba binary will be smaller and much faster then the dmd compiled version.