From ef6a7da72a1273380197ef5bff0969f974e15466 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 28 Oct 2016 15:18:30 +0000 Subject: version: 2.4.0.0 --- doc/libskarnet.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'doc/libskarnet.html') diff --git a/doc/libskarnet.html b/doc/libskarnet.html index 5dccd8c..ae7c88a 100644 --- a/doc/libskarnet.html +++ b/doc/libskarnet.html @@ -63,12 +63,19 @@ it $sysdeps.
  • Link with -lskarnet. If you are using socket functions, you will also need to link with `cat $sysdeps/socket.lib`. If you are using time functions such as tain_now(), you will also need to link with -`cat $sysdeps/tainnow.lib`.
  • +`cat $sysdeps/tainnow.lib`. Also +`cat $sysdeps/spawn.lib`` for posix_spawn() functions, +timer.lib for timer_create functions, and so on. This +is, unfortunately, the only way to work with all the idiosyncrasies and +whimsies of various libcs; only +musl does the sensible thing and +exports all its functions from libc.a and libc.so, +without requiring any additional linker command line flags.

    - The skarnet library as a whole is big (826k for libskarnet.a and -233k for libskarnet.so.2.0.0.0 on x86_64-linux), but the utmost care has been + The skarnet library as a whole is big (945k for libskarnet.a and +179k for libskarnet.so.2.4.0.0 on x86_64-linux), but the utmost care has been given to separate functions so that linkers never pull in any more than they need. Linking against the static version of libskarnet actually produces very small executables, and if your libc is suited for that, since skalibs -- cgit v1.2.3