zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ronald Fischer <ynnor@mm.st>, "Zsh Mailing-List" <zsh-users@zsh.org>
Subject: Re: Distributing Zsh with application in Git repositor
Date: Mon, 27 Jun 2016 22:56:52 -0700	[thread overview]
Message-ID: <160627225652.ZM25142@torch.brasslantern.com> (raw)
In-Reply-To: <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.


      reply	other threads:[~2016-06-28  5:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 13:32 Ronald Fischer
2016-06-28  5:56 ` Bart Schaefer [this message]

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=160627225652.ZM25142@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=ynnor@mm.st \
    --cc=zsh-users@zsh.org \
    /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).