Non-shared variant of "-lrt"

From: Dirk Grunwald <grunwald_at_foobar.cs.colorado.edu>
Date: Sun, 14 Sep 1997 16:16:17 -0600 (MDT)

I'm trying to use the sem_* routines (sem_wait, sem_init, etc) in an
application. I can only find those routines in /usr/shlib/librt.so,
but I want to use a statically linked executable for improved
performance. There is no corresponding librt.a, and I can't find the
symbol in other libraries.


As a side-note: given that there are no compile-time differences
between a shared & non-shared library, why doesn't Digital Unix
standardize on a single library format and then automatically
"un-share" a library when someone wants a statically linked
executable? It would seem to me that this would save an amazing
amount of regression testing (single version of library) and
greatly simplify code.
Received on Mon Sep 15 1997 - 00:27:13 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT