tce-load -i compiletc gdk-pixbuf-dev pango-dev gobject-introspection-dev perl5 pango-gir gdk-pixbuf-gir gst-plugins-base-dev gst-plugins-base-gir libXcomposite-dev libXrandr-dev wget https://ftp.acc.umu.se/pub/GNOME/sources/cogl/1.22/cogl-1.22.8.tar.xz cd cogl-1.22.8 CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-gles1 --enable-gles2 --enable-cogl-gst=yes --enable-kms-egl-platform --enable-wayland-egl-platform --enable-xlib-egl-platform --enable-wayland-egl-server find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [5m 15.13s] sudo make install Cogl - 1.22.8/2.0.0 (git) βΆ Global: Prefix: /usr/local βΆ Features: Drivers: gles1 gles2 gl Library name for GLES1: libGLESv1_CM.so Library name for GLES2: libGLESv2.so Library name for GL: libGL.so.1 GL Window System APIs: glx egl EGL Platforms: wayland kms xlib Wayland compositor support: yes Building for emscripten environment: no Build libcogl-gles2 GLES 2.0 frontend api: yes Image backend: gdk-pixbuf Cogl Pango: yes Cogl Gstreamer: yes Cogl Path: yes βΆ Build options: Debugging: yes Profiling: no Enable deprecated symbols: no Compiler flags: -g -O2 -DCOGL_GL_DEBUG -DCOGL_OBJECT_DEBUG -DCOGL_ENABLE_DEBUG -Wall -Wcast-align -Wformat -Wformat-security -Werror=uninitialized -Werror=empty-body -Werror=init-self -Werror=undef -Werror=declaration-after-statement -Werror=vla -Werror=pointer-arith -Werror=missing-declarations -Werror=maybe-uninitialized -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES Linker flags: βΆ Extra: Build API reference: no Build introspection data: auto Build unit tests: yes Enable internationalization: yes