zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
To: <zsh-workers@sunsite.dk>
Subject: Re: PATCH: reduce unnecessary linking
Date: Thu, 19 Apr 2001 19:55:12 +0400 (MSD)	[thread overview]
Message-ID: <Pine.SV4.4.33.0104191951420.28844-100000@itsrm2.mow.siemens.ru> (raw)
In-Reply-To: <Pine.SV4.4.33.0104191848070.27005-100000@itsrm2.mow.siemens.ru>

On Thu, 19 Apr 2001, Andrej Borsenkow wrote:

> >
> > -AC_CHECK_LIB(socket, socket)
> > +AC_CHECK_LIB(socket, socket, [LIBS_SOCKET="-lsocket"
> > +AC_DEFINE(HAVE_LIBSOCKET)])
> >
>
> No, that won't do. I (being on SVR4) need '-lsocket -lnsl' for any
> networking code (what our Solaris fellas say?) Moreover, I *do* need them
> both in *main* module and not in any DSO (else some funny effects may
> happen).
>

And actually on my system it is very hard (near to impossible) to link
shared module with (dynamic) library. Basically, in

cc -G -o foo.so ... -lbar

any -lbar is simply ignored. So, you cannot link zftp with -lsocket while
omitting -lsocket for main module.


> I really suggest that this patch should be hold off till 4.0.1 release. It
> is just too dangerous and can break too much.
>

And in any case - this optimisation should be used only for systems that
are known to support it.

-andrej


  reply	other threads:[~2001-04-19 15:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19 14:41 Clint Adams
2001-04-19 14:53 ` Andrej Borsenkow
2001-04-19 15:55   ` Andrej Borsenkow [this message]
2001-04-19 16:02     ` Clint Adams
2001-04-19 15:59   ` Clint Adams
2001-04-19 18:15     ` Andrej Borsenkow

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=Pine.SV4.4.33.0104191951420.28844-100000@itsrm2.mow.siemens.ru \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /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).