summaryrefslogtreecommitdiff
path: root/doc/libskarnet.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-10-28 15:18:30 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-10-28 15:18:30 +0000
commitef6a7da72a1273380197ef5bff0969f974e15466 (patch)
treef3e5bcc0898825b53cd536ccb7d078f76326a6f0 /doc/libskarnet.html
parent9bc164fb17451337952eadea7de8e54b3ffaaefd (diff)
downloadskalibs-ef6a7da72a1273380197ef5bff0969f974e15466.tar.xz
version: 2.4.0.0v2.4.0.0
Diffstat (limited to 'doc/libskarnet.html')
-rw-r--r--doc/libskarnet.html13
1 files changed, 10 insertions, 3 deletions
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 <tt>$sysdeps</tt>. </li>
<li> Link with <tt>-lskarnet</tt>. If you are using socket functions, you
will also need to link with <tt>`cat $sysdeps/socket.lib`</tt>. If you are using
time functions such as <tt>tain_now()</tt>, you will also need to link with
-<tt>`cat $sysdeps/tainnow.lib`</tt>. </li>
+<tt>`cat $sysdeps/tainnow.lib`</tt>. Also
+<tt>`cat $sysdeps/spawn.lib`</tt>` for <tt>posix_spawn()</tt> functions,
+<tt>timer.lib</tt> for <tt>timer_create</tt> functions, and so on. This
+is, unfortunately, the only way to work with all the idiosyncrasies and
+whimsies of various libcs; only
+<a href="http://www.musl-libc.org/">musl</a> does the sensible thing and
+exports all its functions from <tt>libc.a</tt> and <tt>libc.so</tt>,
+without requiring any additional linker command line flags. </li>
</ul>
<p>
- The <em>skarnet</em> 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 <em>skarnet</em> 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