$ tce-load -wi compiletc freetype-dev libXft-dev autoconf xorg-proto libX11-dev libjpeg-turbo-dev libpng-dev glu-dev -> download http://tinycorelinux.net/9.x/x86_64/tcz/glib2-dev.tcz, unpack it and copy its *.la files into /usr/local/lib $ export CPPFLAGS="-I/usr/local/include" $ export CXXFLAGS="-mtune=generic -Os -pipe" $ export LDFLAGS="-L/usr/local/lib -Wl,-O1" $ ./configure --x-includes="/usr/local/include/X11 -I/usr/local/include/freetype2" --x-libraries=/usr/local/include/X11 --with-xft --with-xim --with-xshm --with-xcursor --with-opengl --enable-release --without-xrender --without-xfixes --without-xinput --prefix=/usr/local $ make $ mkdir /opt/dest; make DESTDIR=/opt/dest install