tce-load -i Xorg-7.7-dev libpng-dev cd cairo-1.12.16 CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --enable-tee --enable-xlib-xcb --enable-gl make sudo make install cairo (version 1.12.16 [release]) will be compiled with: The following surface backends: Image: yes (always builtin) Recording: yes (always builtin) Observer: yes (always builtin) Mime: yes (always builtin) Tee: yes XML: no (disabled, use --enable-xml to enable) Skia: no (disabled, use --enable-skia to enable) Xlib: yes Xlib Xrender: yes Qt: no (disabled, use --enable-qt to enable) Quartz: no (requires CoreGraphics framework) Quartz-image: no (disabled, use --enable-quartz-image to enable) XCB: yes Win32: no (requires a Win32 platform) OS2: no (disabled, use --enable-os2 to enable) CairoScript: yes PostScript: yes PDF: yes SVG: yes OpenGL: yes OpenGL ES 2.0: no (disabled, use --enable-glesv2 to enable) BeOS: no (disabled, use --enable-beos to enable) DirectFB: no (disabled, use --enable-directfb to enable) OpenVG: no (disabled, use --enable-vg to enable) DRM: no Cogl: no (disabled, use --enable-cogl to enable) The following font backends: User: yes (always builtin) FreeType: yes Fontconfig: yes Win32: no (requires a Win32 platform) Quartz: no (requires CoreGraphics framework) The following functions: PNG functions: yes GLX functions: yes WGL functions: no (WGL headers not found) EGL functions: no (EGL headers not found) X11-xcb functions: yes XCB-shm functions: yes The following features and utilities: cairo-trace: yes cairo-script-interpreter: yes And the following internal features: pthread: yes gtk-doc: no gcov support: no symbol-lookup: no (requires bfd) test surfaces: no (disabled, use --enable-test-surfaces to enable) ps testing: no (requires libspectre) pdf testing: no (requires poppler-glib >= 0.17.4) svg testing: no (requires librsvg-2.0 >= 2.15.0) --- The Xlib/XCB functions feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to Xlib/XCB functions specific --- API. --- The OpenGL surface backend feature is still under active development and --- is included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to OpenGL surface backend --- specific API. --- The tee surface backend feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to tee surface backend specific --- API.