User Tools

Site Tools


devel:backend:spot

Building Spot

This is to build statically linked yet compact binaries for Spot tools, both for Linux and Windows.

Static binaries for Linux

./configure --disable-shared --disable-python --disable-devel --enable-optimizations --prefix ~/spot
make LDFLAGS=-all-static
make install-strip

Cross-compile for Windows using MinGW

./configure --disable-shared --disable-python --disable-devel --enable-optimizations --host x86_64-w64-mingw32 --prefix ~/spot.win
make LDFLAGS=-all-static
make install-strip