Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: [3.1.6-dev-22/CVS] Anyone with HP-UX 11.00 and dynamic loading ?
- X-seq: zsh-workers 10840
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: [3.1.6-dev-22/CVS] Anyone with HP-UX 11.00 and dynamic loading ?
- Date: Wed, 19 Apr 2000 19:12:18 +0400
- Importance: Normal
- In-reply-to: <200004191503.RAA23621@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> Dunno, shouldn't complist be taking the termcap stuff from the
> libtermcap.a that is linked into the core? Like all other modules.
>
Unforunately, all other modules are linked against $LIBS as well. The
problem is, there is fair number of systems out there that do not have
dynamic version of this or that library. Damn, even libc is splitted in
static and dynamic part on our system! So, even if zsh executable is
linked against all librraies, it won't link in all needed symbols -
because zsh executable itself does not use them. For this reason all
modules are linked against all libraries - that may or may not work with
statis/dynamic mix. It surprisingly works on one system here - but fails
on other.
One solution _may_be_ - link zsh executable with all libraries, force
linker to import the whole static library(ies) and export all symbols
for dynamic loading. Of course, this mean, the size of /bin/zsh will
slightly increase ... and even this may fail in case libraries should
come in defined order (as is the case here, damn it again).
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author