This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

R: cygxxx.dll or xxx.dll?


--- Mer 13/10/10, Al  ha scritto:

> Hello,
> 
> I tried this tutorial: http://cygwin.com/cygwin-ug-net/dll.html
> 
> The DLL source is "mydll.c". The DLL is linked with "gcc -o
> myprog
> myprog.c -L./ -lmydll".
> 
> For the DLL I tried different names:
> 
> * mydll.dll
> * cygmydll.dll
> * xmydll.dll
> 
> "mydll.dll" and "cygmydll.dll" are found by
> "-lmydll".? "xmydll.dll"
> isn't found by "-lmydll" but by "-lxmydll".
> 
> It seems the "cyg" prefix is build into the linker
> upstream.
> 
> What is the official policy to name DLL? Cygports with
> "cyg" prefix,
> other ones without?

cyg prefix for cygwin, to avoid clash with lib prefix of minwg

> 
> Al

Marco


  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]