Am 14.08.2017 um 19:43 schrieb Denys Vlasenko:
As uclibc is increasingly aging, I am finally forced
to switch to musl: I'm bitten by a nasty bug in
getopt() - hush is using it in a slightly unusual way,
which uclibc does not expect.
I built a toolchain using
https://github.com/richfelker/musl-cross-make
(Rich, is this the thing I should be using?)
and it worked with no issues at all.
(I can probably only wish for the README
to also mention how to make this a _static_
toolchain... I have a box with 32-bit userspace,
would be awesome to be able to copy this fresh
64-bit toolchain to it and have it working).
From time to time I am updating:
https://github.com/mschlenker/TinyCrossLinux
This might not be as clean as Rich Felkers Makefile collection, it uses
the "classic" approach of building the compiler in two steps. It is
extensively tested in x86_64 and i686, but not at all for other
architectures. Comments are welcome.
Yours,
Mattias
Then I built busybox. Impressions:
Only a few options did not build:
EXTRA_COMPAT and FEATURE_VI_REGEX_SEARCH
failed because they need GNU regexp extensions.
FEATURE_MOUNT_NFS and FEATURE_INETD_RPC do not build
because they need rpc/rpc.h.
Not complaining, since them being in libc was a mistake
in the first place.
Now, the good news - musl has smaller data!
6695 bytes versus 7129 bytes for uclibc:
text data bss dec hex filename
894902 465 6664 902031 dc38f busybox.uclibc
912538 563 6132 919233 e06c1 busybox.musl
Whee!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
--
Mattias Schlenker - Freier IT-Fachredakteur und -autor
redakt...@mattiasschlenker.de
Mattias Schlenker - IT-Consulting, Softwareentwicklung
consult...@mattiasschlenker.de
August-Bebel-Str. 74 - D-04275 LEIPZIG - GERMANY
Phone: +49 341 39290767 - Fax: +49 341 25365955
Mobile (primary): +49 163 6953657
Mobile (secondary): +49 163 1848610
VATIN DE240998538
https://github.com/mschlenker
http://www.mattiasschlenker.de/
http://www.arduino-hausautomation.de/
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox