Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.1 development: dynamic modules
- X-seq: zsh-workers 2363
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: zsh-3.1 development: dynamic modules
- Date: Sun, 10 Nov 1996 13:59:34 +0300 (MOW)
- Cc: Zsh workers list <zsh-workers@xxxxxxxxxxxxxxx>
- In-reply-to: <199611062138.WAA21625@xxxxxxxxxxxxxxxxx>
- Reply-to: borsenkow.msk@xxxxxx
I tried it on Sinix 5.42. It is SVR4-derived system with -ldl library. At
least Perl 5.003 DynaLoad works O.K.
There are many problems about autoconf, but it could be solved in future.
The crucial problem is:
on some systems (our at least; I take it to be true for other SVR4 as
well) the statically linked symbols are *not* available to dynamic
loader. I am not aware of any options to change it. Applied to
ZSH it means, that `addbuiltin' command (when called from loaded module)
*is not found* :-(
Note, that Perl is built as two parts - "startup" command and library,
which contains actual Perl code. I think, the above problem is one reason
for it. Giving long development cycle of Perl, it probably the only
portable solution.
It means, that ZSH should be splitted in small kernel and (probably
several) dynamically loaded modules. At least those sysmbols, which need
to be accessable from modules, should be in dyna part. But I think, if
such rewrite is ever necessary, it would be nice to modularize code; as
example, whole zle_* part could probably be made separate module (and
loaded only in interactive shell).
BTW code of Tcl 7.5 is in *.so library as well.
I would be glad to here, that I am wrong.
greetings
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author