www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/10/04:19:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Feb 2009 10:18:36 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: libtool 2.2.6a: LDFLAGS ignored when building a shared lib?
Message-ID: <20090210091836.GA11175@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20090209120543 DOT GD5416 AT calimero DOT vinschen DOT de> <4990D3E3 DOT 7060101 AT cwilson DOT fastmail DOT fm>
MIME-Version: 1.0
In-Reply-To: <4990D3E3.7060101@cwilson.fastmail.fm>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb  9 20:09, Charles Wilson wrote:
> Corinna Vinschen wrote:
> > I have a problem using libtool 2.2.6a.
> [snip]
> > So there's the `-static-libgcc' twice in the libtool comamnd line when
> > called from make.  But when libtool calls gcc, nothing's left of it.  I
> > understand why CFLAGS is missing, but why did it filter out LDFLAGS as
> > well?  And, if that's normal, why, and how do I workaround that?
> 
> I believe it is a long-standing bug, mentioned here:
> http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00004.html
> but IIRC the promised patch was never produced.
> 
> Try Ralf's suggested workaround, configuring your entire package with
> CC='gcc -static-libcc' and/or CXX='g++ -static-libgcc'.
> 
> If that works, then I'll ping Ralf on fixing this bug.

That works.


Thank you,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019