Now that I can compile and run on my desktop Linux programs meant to run on my smaller computer (such as Android phone), how do I compile from source common programs such as busybox, 7-zip, python?
The repository answers the question, by giving exact recipes to build some must-have software. As of today (22 July 2016), only 7zip and busybox recipe is here.
Hopefully the recipes can be easily modified to build code for a different CPU, or code for musl or uclibc rather than bionic.
- Ability to compile code for your device. For Intel Atom tablet, you use my built from source bionic toolchain or some other development software.
- Root access to a Gentoo Linux computer or at least to something Unix-like with Portage package manager.
- Ability to download
.zip
and.tar.gz
from github and other sites, or downloaded files planted onto your/distfiles
.
The repository is organized in the following manner. common
subdirectory contains generally useful files; other directories contain recipes to build a specific software under specific conditions. For instance, p7zip
folder contains working script and detailed instruction on how to build 7-zip command-line executable for 64-bit Intel/Android on a 64-bit Intel/Linux.