delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/26/08:19:59

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 <jeanluc DOT malet AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019