public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Al <oss.elmar@googlemail.com>
To: cygwin@cygwin.com
Subject: cygxxx.dll or xxx.dll?
Date: Wed, 13 Oct 2010 10:03:00 -0000	[thread overview]
Message-ID: <AANLkTimwfjhY1CYYef01+w+knyT60pYyEZbyn70dNzht@mail.gmail.com> (raw)

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

             reply	other threads:[~2010-10-13 10:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 10:03 Al [this message]
2010-10-13 10:35 ` R: " Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimwfjhY1CYYef01+w+knyT60pYyEZbyn70dNzht@mail.gmail.com \
    --to=oss.elmar@googlemail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).