snacklinux
musl-cross-make
snacklinux | musl-cross-make | |
---|---|---|
2 | 5 | |
13 | 1,194 | |
- | - | |
7.6 | 6.3 | |
6 months ago | 5 days ago | |
Makefile | Makefile | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
snacklinux
-
Easylkb: Easy Linux Kernel Builder
https://github.com/snacsnoc/snacklinux
It uses musl and builds using a musl cross compiler, working x86 and arm64 builds. You could easily build a toolchain for your desired arch and make a simple distro, adding in any user space tools.
- Build LFS Linux From Scratch tutorial for beginners part one
musl-cross-make
-
Alpine Linux: Brilliant Linux Distro
I've done the same alpine trick for static binaries but may I introduce you to musl-cross-make?
https://github.com/richfelker/musl-cross-make
Just burned out static toolchains that make me static binaries for all architectures gcc supports. Much like musl.cc but they suggest building your own and I do.
I use these toolchains on debian (/ anywhere a non-ancient linux kernel runs) to make static binaries, you can too!
- “LLVM-Libc” C Standard Library
-
SectorLISP binary footprint comparaison
Python obviously isn't 14kb because its code is divided into hundreds of shared object files. So the way I like to measure things is using static executable size, using tools like https://github.com/jart/cosmopolitan or https://github.com/richfelker/musl-cross-make of which you'll find a static build in the cosmo repo. For example, here's the technique I used to build TinyLISP was something like this:
-
Cross compiling ring for arm
I have a different issue with ring. This is on a custom Cortex A9 board at work. For most depedencies I can get compilation working fine with armv7-unknown-linux-musleabihf. I was able to build the cross compiler using https://github.com/richfelker/musl-cross-make , adding
-
GCC Rust: GCC Front-End for Rust
A bit off topic, I hope someday GCC's build system gets overhauled. A huge advantage of LLVM is that it is quite easier to rebuild the runtime libraries without rebuilding the compiler. With GCC that's a pain, unless one takes the time to re-package GCC very carefully like https://github.com/richfelker/musl-cross-make and https://exherbo.org/.
Maybe getting some new GCC devs in there with projects like this would help with that?
What are some alternatives?
debian-live-config - [mirror] Debian GNU/Linux desktop operating system, preconfigured for personal computers/workstations
manylinux - Python wheels that work on any linux (almost)
sabotage - a radical and experimental distribution based on musl libc and busybox
glibc_version_header - Build portable Linux binaries without using an ancient distro
ataraxia - Simple and lightweight source-based multi-platform Linux distribution with musl libc.
holy-build-box - System for building cross-distribution Linux binaries
minimal - Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.
aports - [MIRROR] Alpine packages build scripts
zwave-js-ui - Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
bootBASIC - bootBASIC is a BASIC language in 512 bytes of x86 machine code.
AlpineLinux-DailyDriverDesktop - My minimalist desktop running Alpine Linux
omnios-build - Build system for OmniOS