User Tools

Site Tools


devel:backend:spot

Building Spot

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

Static binaries for Linux

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

Static binaries for Windows using MinGW toolchain

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

Static binaries for OSX

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