Hello all!
So, because I only have this tablet:
$ termux-info Packages CPU architecture: arm
Updatable packages: All packages up to date
Android version: 10
Kernel build information: Linux localhost 4.14.141+ #1 SMP PREEMPT Mon Mar 29 18:09:45 CST 2021 armv8l
Android Device manufacturer: HUAWEI
Device model: KOB2-L09
I tried to do my best and compile Cingg on *that*
Of course my attempt failed So far, but at least buildsystem unpack sources correctly and start to build them.
I installed termux from so-called AppGallery (but termux actually exist for F-droid, libre/oss repo independent from Google play), and updated it, after installing few utilites and editing source list (it uses apt, like debian, while you can call it as 'pkg search blah, pkg install meh') because since mid-2020 they changed their way Of hosting binaries
More about termux :
Works on Android 7+, provides X via Xsdl or vnc
Does not require root priviledges on device
In theory you can try to install more compatible arm distro but this Will eat more space So I tried Hard way!
Packages with development files have '-static' added to their name.
So, I tried to call configure in Cingg source tree with suitable argument.
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --with-single-user --with-thirdparty --enable-static-build --without-vaapi --without-vdpau --without-shuttle_usb --without-libzmpeg --without-lv2 --with-clang
device uses clang-12 currently (!)
I tried to update
configure.ac based on result of 'autoscan' invokation, it makes configure phase longer but more verbose.
But main show breaker was difference between /bin/sh and bin/bash (with long termux path)
Default was sh and it was barking at += statements in
configure.ac like those
CFG_CFLAGS+=" -pthread -Wall"
# misguided pedantic warnings
# this is extra work, not a gain...
CFG_CFLAGS+=" -Wno-unknown-warning-option"
CFG_CFLAGS+=" -Wno-attributes"
CFG_CFLAGS+=" -Wno-unused-result"
CFG_CFLAGS+=" -Wno-stringop-overflow"
CFG_CFLAGS+=" -Wno-format-truncation"
CFG_CFLAGS+=" -Wno-format-overflow"
CFG_CFLAGS+=" -Wno-parentheses"
CFG_CFLAGS+=" -Wno-stringop-truncation"
CFG_CFLAGS+=" -D__STDC_CONSTANT_MACROS"
CFG_CFLAGS+=" -D__STDC_LIMIT_MACROS"
And as result configure was half-broken, failed to make thirdparty.. :/
But by changing configure's first line manually to
#! /data/data/com.termux/files/usr/bin/bash
I overcome this error!
Of course with less than 700 mb free out of 16 gb flash 'disk' (I have few huge navigator apps and Android was weighting 9 gb from very start!) build in thirdparty failed, and guicast/cinelerra dirs had their own problems related to missing shared mem support (!) and other problems but at least it started
See my hacks attached
Be aware about limited number of write cycles when it comes to flash memory! Big compiles can degrade internal storage prety quickly, I am afraid