X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_52,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 26 May 2009 14:19:37 +0200 Message-ID: <1de9d39c0905260519x7cdf738cxbc057482c6cdcd6b@mail.gmail.com> Subject: dll links or pkgconfig/libtool information is wrong From: jean-luc malet To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 hi! I'm creating a dll using gcc and cygwin this dll use 2 others dll : -lglut -lGL $pkg-config.exe --libs gl -lGL but /bin/ contain cygGL-1.dll when static linking with -lGL this works fine because libGL.a exist when creating the dll -lGL don't work at all, I have to specify -lGL-1 doing /bin/$ ln -s cygGL-1.dll cygGL.dll solve the issue I have similar issue with some libtool based library 1) on unix system there are usually a set of links libGL.so -> libGL.1.so -> libGL.1.2.so -> libGL.1.2.3.so, which seems to no exist under cygwin, is it normal or wanted feature? 2) if this is normal then pkg-config and libtool shall be fixed to report the right library name thanks and regards JLM --=20 KISS! (Keep It Simple, Stupid!) (garde le simple, imb=C3=A9cile!) "mais qu'est-ce que tu m'as pondu comme usine =C3=A0 gaz? fait des choses simples et qui marchent, esp=C3=A8ce d'imb=C3=A9cile!" ----------------------------- "Si vous pensez que vous =C3=AAtes trop petit pour changer quoique ce soit, essayez donc de dormir avec un moustique dans votre chambre." Betty Reese http://www.grainesdechangement.com/citations.htm -- 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/