Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Distributing Zsh with application in Git repositor
- X-seq: zsh-users 21712
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Ronald Fischer <ynnor@xxxxx>, "Zsh Mailing-List" <zsh-users@xxxxxxx>
- Subject: Re: Distributing Zsh with application in Git repositor
- Date: Mon, 27 Jun 2016 22:56:52 -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=JysnsnoQ8QfmjrJZN5h/MHryISsr/jtlD24TDSuF8zs=; b=OhZiMTPsFwVDzG2igb4Ere0nYeFofjjfsw4i1wN4lMlUv9dFIrYq2EviGR7glNxeMM qRBkW5CVTjsQN03ApX2dJe1goJIiZ4dB7x+RnhKaMAnqYtU5ktkQIhdRXYCkjqBSKyOi awceXNG2w+fl3AeEAc5vMa222LgEuFWa5oMZJ2J/NjMu7tvWCeqLt497f2wuiUuoxVsT uSfbS4Fa5dcIpXOlOI8MWYACiEEgtsjJkUqjzu1nJqCXjZBQmlcQIDW9INqjihauULhR 4/HcwOYVWpve3VxEjT4jlr6dgmuNEefcEDH+bcXDC3FegH/YaM4+hj+J781CBs0EzyeA tcqw==
- In-reply-to: <1467034354.407816.649641049.01690959@webmail.messagingengine.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1467034354.407816.649641049.01690959@webmail.messagingengine.com>
On Jun 27, 3:32pm, Ronald Fischer wrote:
}
} Is it possible to create (or download) a standalone executable of zsh?
You can "configure --disable-dynamic" combined with passing the static
linking options for the compiler via LDFLAGS (the default is to link
e.g. glibc et al. dynamically even when linking modules statically).
You'll want to prepare a modified config.modules file to be sure that
any modules you need are linked to the shell (link=static load=yes),
and that any you do NOT want are NOT linked (link=no) to keep the
size of the binary to a minimum. You must edit config.modules AFTER
running configure, so perhaps keep the edited copy around under another
name so you can just cp it on top of config.modules before "make".
And you'll need to compile at least one binary for every hardware
architecture, if not for every target OS variant, and make sure your
application installer grabs the correct one.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author