delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/13/06:03:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 13 Oct 2010 12:03:10 +0200
Message-ID: <AANLkTimwfjhY1CYYef01+w+knyT60pYyEZbyn70dNzht@mail.gmail.com>
Subject: cygxxx.dll or xxx.dll?
From: Al <oss DOT elmar AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

--=20
Caution crosser: =A0Runnig 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019