[Toybox] static build
Rob Landley
rob at landley.net
Sat Jan 4 11:02:33 PST 2020
On 1/3/20 5:16 PM, Frank Liu wrote:
> Hi,
>
> I tried a static build of 0.8.2 release on my Debian-9 x86_64, but the resulting
> binary is much larger than http://landley.net/toybox/bin/toybox-x86_64
> Is there a note on how the above static binaries are built? against musl,
> uClibc, glibc or something else? Which distro or compiler was used?
It's built against musl-libc using https://github.com/richfelker/musl-cross-make
as built by
https://github.com/landley/toybox/blob/master/scripts/mcm-buildall.sh
There are prebuilt musl-cross-make binaries at http://musl.cc/#binaries which
should be reasonably close to what I use. (They're maintained by Thalheim on the
#toybox freenode channel. He started with my build script a year or two back,
and then did his own development on top of that.)
Rob
More information about the Toybox
mailing list