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 Message-ID: <032201c2d141$4c333920$78d96f83@pomello> From: "Max Bowsher" To: References: <000001c2d13b$d5c30a40$5c1306d5 AT BRAMSCHE> <02ee01c2d13f$506fbc40$78d96f83 AT pomello> <20030210200715 DOT GE11550 AT redhat DOT com> Subject: Re: [avail for test] libtool-devel-20030121-1 Date: Mon, 10 Feb 2003 20:16:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Christopher Faylor wrote: > 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. It's an issue when cross-compiling cygwin -> mingw, using -mno-cygwin, since libtool runs gcc -print-search-dirs, doesn't see /usr/lib/w32api there, so when you try to link with a w32api library, libtool petulantly refuses to link properly, because *it* thinks the w32api library won't be found. Whereas, if it just trusted gcc/ld to do their jobs, there would be no problem. It's only not an issue when compiling cygwin -> cygwin because sys_lib_search_path_spec is hardcoded in libtool for this case. Max. -- 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/