dll links or pkgconfig/libtool information is wrong

jean-luc malet jeanluc.malet@gmail.com
Tue May 26 12:19:00 GMT 2009

I'm creating a dll using gcc and cygwin
this dll use 2 others dll : -lglut -lGL
$pkg-config.exe --libs gl
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
/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

KISS! (Keep It Simple, Stupid!)
(garde le simple, imbécile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espèce d'imbécile!"
"Si vous pensez que vous êtes trop petit pour changer quoique ce soit,
essayez donc de dormir avec un moustique dans votre chambre." Betty

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/

More information about the Cygwin mailing list