Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ZSH static compile is missing modules even when dynamic is fully disable
- X-seq: zsh-users 15853
- From: nix@xxxxxxxxxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: ZSH static compile is missing modules even when dynamic is fully disable
- Date: Wed, 9 Mar 2011 18:10:42 +0200
- Importance: Normal
- 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
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author