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]

cygxxx.dll or xxx.dll?


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


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