diff --git a/README.md b/README.md index a39230d..0677278 100644 --- a/README.md +++ b/README.md @@ -70,13 +70,14 @@ hints: 2. `-Dstrip=true` to strip debug symbols. For reference, size of the shared library and helper binaries when compiled -with `-Dstrip=true -Drelease-small=true`: +with `zig build -Dstrip=true -Doptimize=ReleaseSmall`: - 28K zig-out/bin/turbonss-analyze - 20K zig-out/bin/turbonss-getent - 24K zig-out/bin/turbonss-makecorpus - 140K zig-out/bin/turbonss-unix2db - 24K zig-out/lib/libnss_turbo.so.2.0.0 + $ ls -h1s zig-out/{bin/*,lib/libnss_turbo.so.2.0.0} + 24K zig-out/bin/turbonss-analyze + 20K zig-out/bin/turbonss-getent + 24K zig-out/bin/turbonss-makecorpus + 136K zig-out/bin/turbonss-unix2db + 20K zig-out/lib/libnss_turbo.so.2.0.0 Many thanks to Ulrich Drepper for [teaching how to link it properly][dso].