X-Recipient: archive-cygwin@delorie.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 <jeanluc.malet@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

