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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Charles Wilson Subject: Re: libtool 20030216: problem recognizing import libraries Date: Fri, 07 Mar 2003 13:45:14 -0500 Lines: 68 Message-ID: <3E68E8BA.4030008@ece.gatech.edu> References: <3E685D89 DOT D4F7B8E4 AT ecn DOT nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090808000404050107040201" X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en --------------090808000404050107040201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Teun Burgers wrote: > When I libtoolize with libtool-devel-20030216, I can't build dll's that I was able to > build with libtool-devel-20030103. When linking with 20030216 I get messages such > as these: [snip] > I get this message for the following libs: > > -lcygwin -luser32 -ladvapi32 -lkernel32 -lshell32 > > 20030103 *does* recognize all these libraries as import-libs/shared libs. [snip] > How can I build this shared library with 20030216? > > btw unpatched 20030216 can also build this dll. Not surprising...since the unpatched version uses the old "safe" code. Now, about your problem: I'm a bit confused, because I do *not* see that behavior. Please take the attached script, which contains only the new win32_libid() code -- the only parted changed by the patched libtool-20030216 -- and run the following tests: ./cygwin_libid /usr/lib/libcygwin.a ./cygwin_libid /usr/lib/w32api/libuser32.a ./cygwin_libid /usr/lib/w32api/libadvapi32.a ./cygwin_libid /usr/lib/w32api/libkernel32.a ./cygwin_libid /usr/lib/w32api/libshell32.a And report back... Thanks, Chuck --------------090808000404050107040201 Content-Type: application/x-java-applet;version=1.1.1; name="cygwin_libid" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="cygwin_libid" IyEvYmluL3N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maWxlcmVzIGluCiAgICAqTVNcIFdpbmRvd3NcIFBFXCBJbnRlbCopCiAg ICAgIHdpbjMyX2xpYmlkX3R5cGU9Ing4NiBETEwiCiAgICAgIDs7CiAgICBlc2FjCiAgICA7 OwogIGVzYWMKICBlY2hvICR3aW4zMl9saWJpZF90eXBlCn0KCk9CSkRVTVA9b2JqZHVtcApO TT1ubQp3aW4zMl9saWJpZCAkMQoK --------------090808000404050107040201 Content-Type: text/plain; charset=us-ascii -- 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/ --------------090808000404050107040201--