cygxxx.dll or xxx.dll?

Al oss.elmar@googlemail.com
Wed Oct 13 10:03:00 GMT 2010


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?

Al

-- 
Caution crosser:  Runnig Gentoo/Prefix on Cygwin/Vista.
All stupid questions are related to that context.

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