[Nut-upsdev] NUT on Android

Jim Klimov jimklimov+nut at gmail.com
Thu Sep 14 16:29:23 BST 2023


Fun fact: while posting a reply to an issue about builds for ARM today, I
remembered that I've installed Termux on my Android phone some time ago,
and then kinda forgot about it.

Well, whaddyaknow?

Took about 15 minutes to get the packages up to speed, and get NUT built
(clang16 has a lot of new warnings) and passing NIT natively on an ARM in
my pocket.


pkg update
pkg install openssl build-essentials ccache git curl file
binutils-is-llvm aspell asciidoc

git clone ...

./ci_build.sh

...

file says:

/data/data/com.termux/files/home/nut/server/upsd: ELF 64-bit LSB pie
executable, ARM aarch64, version 1 (SYSV), dynamically linked,
interpreter /system/bin/linker64, with debug_info, not stripped
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20230914/a3c8ae42/attachment.htm>


More information about the Nut-upsdev mailing list