public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygxxx.dll or xxx.dll?
@ 2010-10-13 10:03 Al
  2010-10-13 10:35 ` R: " Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Al @ 2010-10-13 10:03 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* R: cygxxx.dll or xxx.dll?
  2010-10-13 10:03 cygxxx.dll or xxx.dll? Al
@ 2010-10-13 10:35 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2010-10-13 10:35 UTC (permalink / raw)
  To: cygwin, Al

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-13 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 10:03 cygxxx.dll or xxx.dll? Al
2010-10-13 10:35 ` R: " Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).