R: cygxxx.dll or xxx.dll?

Marco Atzeri marco_atzeri@yahoo.it
Wed Oct 13 10:35:00 GMT 2010


--- 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



More information about the Cygwin mailing list