1. Install build deps: $ tce-load -wi freetype-dev imlib2-dev libltdl libX11-dev glib2-dev 2. Download glib2-dev.tcz (http://tinycorelinux.net/9.x/x86_64/tcz/glib2-dev.tcz), unpack it, copy the lib*.la files into /usr/local/lib/ 3. Use the configure flags recommended on TC's wiki (for maximum compatibility): export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe" export LDFLAGS="-Wl,-O1" 4. Nothing new here: $ ./configure $ make $ make DESTDIR=/opt/destgiblib install