tce-load -i compiletc cmake ninja expat2-dev curl-dev python3.11

wget https://github.com/Exiv2/exiv2/archive/v0.28.7/exiv2-0.28.7.tar.gz

cd exiv2-0.28.7

mkdir build
cd build

cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DEXIV2_ENABLE_VIDEO=yes -DEXIV2_ENABLE_WEBREADY=yes -DEXIV2_ENABLE_CURL=yes -DEXIV2_BUILD_SAMPLES=no -DEXIV2_ENABLE_INIH=no -DEXIV2_ENABLE_BROTLI=no -DCMAKE_SKIP_INSTALL_RPATH=ON -G Ninja ../

[-fno-exceptions fails]

ninja [10m 26.60s]
sudo ninja install

-- CMake Generator:   Ninja
-- CMAKE_BUILD_TYPE:  Release
-- Compiler info: GNU (/usr/local/bin/c++) ; version: 14.2.0
-- CMAKE_CXX_STANDARD:17
--  --- Compiler flags --- 
-- General:           
         -fstack-clash-protection
         -fstack-protector-strong
         -D_GLIBCXX_ASSERTIONS
         -D_FORTIFY_SOURCE=2
         -Wall
         -Wcast-align
         -Wpointer-arith
         -Wformat-security
         -Wmissing-format-attribute
         -Woverloaded-virtual
         -W
         -Wno-error=format-nonliteral
-- Extra:              
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags --- 
-- General:           
-- Debug:             
-- Release:           
-- RelWithDebInfo:    
-- MinSizeRel:        
-- 
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
-- 
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Building BMFF support:              YES
-- Brotli support for JPEG XL:         NO
-- Native language support:            NO
-- Building video support:             YES
-- Nikon lens database:                YES
-- Building webready support:          YES
-- USE Libcurl for HttpIo:             YES
-- Building exiv2 command:             YES
-- Building samples:                   NO
-- Building unit tests:                NO
-- Building fuzz tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Building with filesystem access     YES
-- Using ccache:                       NO
-- Configuring done
-- Generating done
