zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Sven Wischnowsky" <wischnow@informatik.hu-berlin.de>,
	<zsh-workers@sunsite.auc.dk>
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	[thread overview]
Message-ID: <000601bfaa11$a75e8a20$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <200004191503.RAA23621@beta.informatik.hu-berlin.de>


>
> 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


  reply	other threads:[~2000-04-19 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-19 15:03 Sven Wischnowsky
2000-04-19 15:12 ` Andrej Borsenkow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-19 14:56 Ollivier Robert
2000-04-19 15:08 ` Peter Stephenson
2000-04-19 15:13   ` Andrej Borsenkow
2000-04-19 15:57   ` Ollivier Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000601bfaa11$a75e8a20$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).