Need an Introduction to Tiny Core? Or peruse Core Concepts.
CFLAGS="$CFLAGS -static" CXXFLAGS="$CXXFLAGS -static" ./configure --other-options-here