zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Vardhan Varma" <vardhan@cadence.com>, "Zefram" <zefram@fysh.org>
Cc: <zsh-workers@sunsite.auc.dk>
Subject: RE: on AIX, builds zsh.xxx.so
Date: Thu, 2 Dec 1999 13:35:20 +0300	[thread overview]
Message-ID: <000001bf3cb0$eed9e030$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <199912020954.PAA14253@basant.cadence.com>

> > Vardhan Varma wrote:
> > >	on AIX, default makefiles build a zsh.xxx.so.
> > >	What changes do i do to make is statically linked.
> >
> > Add "--disable-dynamic" to the configure command line.
> 	will that not disable dynamic loading of modules too ??
> 	Actuall zsh being dependent on zsh-3.1.6.so is causing
> 	problem. i've compiled on HP and SunOS too, where
> 	ldd zsh doesn not list anny zsh*so

Some systems do not allow access to all symbols in executables at run time (for
use with dynamic loading). Modules - unfortunately - have to access symbols from
main zsh code. Putting main zsh code in dynamic library is one way to solve this
problem. Some systems provide additional compiler/linker flags to export all
symbols from executable.

Zsh tests if symbols in executables are available; and it will use additional
flags to avoid libzsh.so on known systems. If libzsh.so is built on AIX it
means, that these tests fail and you won't be able to use dynamic modules
without libzsh.so at all.

/andrej


  reply	other threads:[~1999-12-02 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-02  9:20 Vardhan Varma
1999-12-02  9:29 ` Zefram
1999-12-02  9:54   ` Vardhan Varma
1999-12-02 10:35     ` Andrej Borsenkow [this message]
1999-12-03 20:42       ` Peter Stephenson

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='000001bf3cb0$eed9e030$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=vardhan@cadence.com \
    --cc=zefram@fysh.org \
    --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).