update README

This commit is contained in:
Motiejus Jakštys 2023-04-13 12:09:03 +03:00
parent d7ca840de8
commit 65bd0c9f9d

View File

@ -70,13 +70,14 @@ hints:
2. `-Dstrip=true` to strip debug symbols. 2. `-Dstrip=true` to strip debug symbols.
For reference, size of the shared library and helper binaries when compiled 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 $ ls -h1s zig-out/{bin/*,lib/libnss_turbo.so.2.0.0}
20K zig-out/bin/turbonss-getent 24K zig-out/bin/turbonss-analyze
24K zig-out/bin/turbonss-makecorpus 20K zig-out/bin/turbonss-getent
140K zig-out/bin/turbonss-unix2db 24K zig-out/bin/turbonss-makecorpus
24K zig-out/lib/libnss_turbo.so.2.0.0 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]. Many thanks to Ulrich Drepper for [teaching how to link it properly][dso].