- A toolchain compatible with the target architecture and operating system.
Substitute arm-linux-gnueabihf with your toolchain's target triplet.
$ export TARGET=arm-linux-gnueabihf
$ export STATIC_ROOT=`readlink -f ~/${TARGET}-static`
$ wget https://github.com/strace/strace/releases/download/v5.6/strace-5.6.tar.xz
$ tar xJf strace-5.6.tar.xz
$ cd strace-5.6
$ mkdir build
$ cd build
$ ../configure --host="${TARGET}" --prefix="${STATIC_ROOT}" CFLAGS="-pthread" LDFLAGS="-static"
$ make
$ make install-strip