zsh-users
 help / color / mirror / code / Atom feed
* loading dynamic modules in a static shell
@ 2004-01-18 12:14 Vincent
  2004-01-18 15:31 ` Dominic Mitchell
  2004-01-18 18:39 ` Bart Schaefer
  0 siblings, 2 replies; 6+ messages in thread
From: Vincent @ 2004-01-18 12:14 UTC (permalink / raw)
  To: zsh-users

Hi.

Is it supposed to be possible to compile a static shell with part of
the modules built in and to be able to load the remaining modules with
zmodload?  Having a separate link option for every module in
config.modules gives me the impression that I should be able to create
a mixed configuration, with some static and some dynamic, but I have
not been able to get it to work.  I don't know if there is another way
I am supposed to do it but If I tried setting some with link=dynamic
and some with link=static in config.modules it would not work.  It
only compiled either static or dynamic based on how the ldflags were
set when it was configured with configure.

I compiled zsh-4.0.9 configured with
"configure --enable-ldflags=-static", installed it, then reconfigured
it as shared, did a "make modules" and installed the dynamic modules.
However, when I try loading one of the dynamic modules that are not
statically linked in, such as zftp, it just says
"zsh: failed to load module: zsh/zftp".

I have searched the FAQ, mailing lists, and documentation, but have
not found any information that helps me.

I built a static shell to install in /bin on FreeBSD but did not want
it be so big with every module compiled in.

-- 
Avoid the VeriSign/Network Solutions domain registration trap!
http://www.InetAddresses.net


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-19  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-18 12:14 loading dynamic modules in a static shell Vincent
2004-01-18 15:31 ` Dominic Mitchell
2004-01-19  5:25   ` Vincent
2004-01-19  7:35     ` Dan Nelson
2004-01-18 18:39 ` Bart Schaefer
2004-01-19  5:37   ` Vincent

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).