Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 10 Feb 2003 15:07:15 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [avail for test] libtool-devel-20030121-1 Message-ID: <20030210200715.GE11550@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000001c2d13b$d5c30a40$5c1306d5 AT BRAMSCHE> <02ee01c2d13f$506fbc40$78d96f83 AT pomello> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02ee01c2d13f$506fbc40$78d96f83@pomello> User-Agent: Mutt/1.5.1i On Mon, Feb 10, 2003 at 08:02:17PM -0000, Max Bowsher wrote: >>> ARGH. This defeats the whole purpose of the policy change -- and it >>> is a policy change driven by the libtool development. > >I've been hunting for the relevant threads on the libtool list - can't find >them. Can anyone offer URLs or search terms that would help? > >Ralf Habacker wrote: >> May be, but like Max has stated, I don't like to be forced to make >> every static lib as shared lib. This would break the whole kde build >> system, because often convenience librarys are build and assembled >> together into a dll. May be, that's the reason, why on linux and >> other systems "pass_all" is used, because it overrides this police. > >I think that in some cases, libtool tries to do too much. I've run into a >number of cases which would have just worked if libtool had passed the >arguments to gcc without modification, but it insists on filtering stuff in >complex ways. For example, gcc -print-search-dirs doesn't admit to searching >/usr/lib/w32api, so any attempt to link with a w32api library when >cross-compiling with -mno-cygwin (which means the Cygwin-specific hack in >libtool.m4 doesn't get activated) fails. Now, admittedly, gcc is probably >wrong in not showing all its search dirs correctly, but sometimes I wish >libtool trusted the compiler more. gcc doesn't search /usr/lib/w32api. ld does. Since it's impossible for ld to *not* search /usr/lib/w32api, I don't know why this is an issue unless you've got a mismatch between gcc and ld. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/