zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: dynamic modules without libzsh.so?
Date: Tue, 23 Aug 2005 02:52:12 +0000	[thread overview]
Message-ID: <1050823025212.ZM7670@candle.brasslantern.com> (raw)
In-Reply-To: <20050823000141.GA21090@bretton.ny.jpmorgan.com>

On Aug 22,  8:01pm, Anthony Heading wrote:
}
} How does one build the core zsh statically (i.e. with
} builtin.o etc as part of the main executable, not in
} libzsh-4.2.5.so), while still having zle and zftp
} and so on created as loadable modules?

Several (though not all) of the dynamic linking schemes supported by
the zsh build process will not allow runtime-linkable libraries to
make reference to global symbols from a static library.  libzsh-*.so
forms a bridge in those environments, and therefore is always built
as a dynamic shared object unless the _entire_ zsh binary is static.

So the answer is, you can't do it, unless (a) your dynamic linker is
not one of those that requires it to be shared, and (b) you construct
the necessary compile and link commands by hand [or by editing the
zsh build system, which amounts to the same thing].


  reply	other threads:[~2005-08-23  2:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23  0:01 Anthony Heading
2005-08-23  2:52 ` Bart Schaefer [this message]
2005-08-23  3:27   ` Anthony Heading

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=1050823025212.ZM7670@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.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).