Compiled on X8DTU with 2 physical Intel Xeon E5530 CPU (8C16T) Compile Flags: CFLAGS="-mtune=generic -Os -pipe -flto -fuse-linker-plugin" CXXFLAGS="-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti" LDFLAGS="-Wl,-O1" export CFLAGS CXXFLAGS LDFLAGS Dependencies: compiletc libXft-dev libjpeg-turbo-dev xorg-server-dev Commands: tar xf fltk-1.3.5-source.tar.bz2 ./configure \ --prefix=/usr/local \ --localstatedir=/var \ --libdir=/usr/local/lib/fltk-xft \ --enable-shared \ --disable-gl \ --disable-xinerama \ --disable-xfixes \ --disable-xcursor \ --disable-xrender Configuration Summary ------------------------------------------------------------------------- Directories: prefix=/usr/local bindir=${exec_prefix}/bin datadir=${datarootdir} datarootdir=${prefix}/share exec_prefix=${prefix} includedir=${prefix}/include libdir=/usr/local/lib/fltk-xft mandir=${datarootdir}/man Graphics: X11 + Xft + Xdbe Image Libraries: JPEG=System PNG=System ZLIB=System Large Files: YES OpenGL: NO Threads: YES # apply patch to removes printing support patch src/Makefile fltk-no-printing.patch # skip unwanted files and reduce compile time patch Makefile fltk-skip-test-doc.patch # do not compile fluid sed -i '/DIRS/{s/ fluid//}' Makefile # build make -j