Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding (compiling) a module to already build Zsh
- X-seq: zsh-workers 39298
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Adding (compiling) a module to already build Zsh
- Date: Mon, 12 Sep 2016 10:38:39 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=AcuzMWfH5qJ2BHKCjs887Hdny7cO5N1kozKbKdBSzGA=; b=Q3UGIwrxnE5amGygCnM5Y8zR9DIwgGEvuTEb0c4D9PRq6o8/zIw1b1ofH7AY7wL6Bo 20E06QzxgrFUp1ZjlwcBPqDA9+o5WX2t8Bhlu7gZiL7UOwGi2P8GEI0UMe/aFUINRL0U TCemSxl+Y+UOXCwAJwn8rL2E6twRf0/KGN/ikgcwhwL6Zjbc/w8W5iWSJVPwS+1dxEeA y3FJqRMUGgJqXUT5OIdXaFc/8JHFqA0iJjLiesBe2Tzz/ViGMyaYyOURatT5rmFvg4ir aNNBll9yT5kNgNAZEzeo4Oab+REsLO2ATQjPcUrIBYvhjtP0R1BoVU+RDfZCXsFOhJGl 1MOw==
- In-reply-to: <CAKc7PVB+A2Pzjz5GF8MLT2j=fz+0JSLK9k2vkx2bt6ENRzirMw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVB+A2Pzjz5GF8MLT2j=fz+0JSLK9k2vkx2bt6ENRzirMw@mail.gmail.com>
On Sep 12, 8:12am, Sebastian Gniazdowski wrote:
}
} on IRC someone asked how to "add gdbm". I wonder if the module can be
} easily added to already installed Zsh, if it's not already bundled?
It should be possible to do this provided that
(a) the zsh source matching the installed binary is available to
compile against and
(b) the installed binary was compiled with dynamic linkage enabled.
What won't work is any automatic autoloads of the builtins etc. from
any module added later. I can't think of a reason explicit "zmodload"
wouldn't work, though, assuming the .so file was in a $module_path
directory.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author