This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: cygxxx.dll or xxx.dll?
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, Al <oss dot elmar at googlemail dot com>
- Date: Wed, 13 Oct 2010 11:35:03 +0100 (BST)
- Subject: 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