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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/