From 65bd0c9f9db9ab8124213f203d42f79237038f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 13 Apr 2023 12:09:03 +0300 Subject: [PATCH] update README --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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].