Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.1.0-test3 release
- X-seq: zsh-workers 2426
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: zsh-3.1.0-test3 release
- Date: Mon, 18 Nov 1996 14:41:34 +0300 (MOW)
- Cc: Zsh hacking and development <zsh-workers@xxxxxxxxxxxxxxx>
- In-reply-to: <199611170427.FAA13416@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: borsenkow.msk@xxxxxx
On Sun, 17 Nov 1996, Zoltan Hidvegi wrote:
>
> It may now support dynamic loading on SVR4 systems. Try it. If it does not
> work, send a patch to fix it.
>
Yes, it works. There is a small problem in linking libzsh.so - I have to
think it over. In short:
zsh is linked with -ltermcap. But now termcap functions are used in
libzsh.so and not in zsh. If termcap is static (and we have only static
version), it is not used when linking, and I get run-time error when
accessing termcap functions.
Probably, we need to split LIBS between those neede for zsh itself (does
it need any at all?) and libzsh.so. As the whole code is now in libzsh.so,
probably it is enough:
zsh: $(PROTO) $(ANSI@U@KNR) $(@L@IBZSH) $(@L@OBJS)
$(LINK) $(@L@OBJS) -lzsh
$(LIBZSH): $(LIBOBJS)
$(DLLD) $(LDFLAGS) $(DLLDFLAGS) -o $(LIBZSH) $(LIBOBJS) $(LIBS)
ln -sf $(LIBZSH) libzsh.so
where libs doesn't include -lzsh?
BTW it would be nice to be able to compile static as well as dynamic
version of zsh from te same Makefile.
Thanks!
-------------------------------------------------------------------------
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