From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13217 invoked from network); 19 Apr 2001 16:03:03 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Apr 2001 16:03:03 -0000 Received: (qmail 13411 invoked by alias); 19 Apr 2001 16:02:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14038 Received: (qmail 13398 invoked from network); 19 Apr 2001 16:02:56 -0000 Date: Thu, 19 Apr 2001 12:02:53 -0400 From: Clint Adams To: Andrej Borsenkow Cc: zsh-workers@sunsite.dk Subject: Re: PATCH: reduce unnecessary linking Message-ID: <20010419120253.B27595@dman.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Andrej.Borsenkow@mow.siemens.ru on Thu, Apr 19, 2001 at 07:55:12PM +0400 > 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. Is there a good way to test for that? > And in any case - this optimisation should be used only for systems that > are known to support it. That's fair. I'll simulate the old behavior for now.