From: nix@myproxylists.com
To: zsh-users@zsh.org
Subject: ZSH static compile is missing modules even when dynamic is fully disable
Date: Wed, 9 Mar 2011 18:10:42 +0200 [thread overview]
Message-ID: <d3ba86276d6daafc7379e08b5f212b09.squirrel@gameframe.net> (raw)
I do compile ZSH statically this way:
#!/bin/sh
ln -s `g++ -print-file-name=libstdc++.a`
./configure --disable-dynamic CFLAGS="-Os -s -static-libgcc -L."
--disable-restricted-r --disable-gdbm
--
Any other built-in module is there such as terminfo and datetime works in
statically compiled version. However the following modules will fail:
zmodload -i zsh/mathfunc
zmodload -i zsh/mapfile
A statically compiled ZSH will give you these errors:
zsh: failed to load module: zsh/mathfunc
zsh: failed to load module: zsh/mapfile
Both mathfunc and mapfile are working just fine when you use dynamically
linked version but I have to get it working in static as well.
Any solution how do I include also mathfunc and mapfile in my static
version as my tools will need them?
next reply other threads:[~2011-03-09 16:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 16:10 nix [this message]
2011-03-09 16:31 ` Bart Schaefer
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=d3ba86276d6daafc7379e08b5f212b09.squirrel@gameframe.net \
--to=nix@myproxylists.com \
--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).