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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_NW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <877933.37007.qm@web25505.mail.ukl.yahoo.com>
Date: Wed, 13 Oct 2010 11:35:03 +0100 (BST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: cygxxx.dll or xxx.dll?
To: cygwin AT cygwin DOT com, Al <oss DOT elmar AT googlemail DOT com>
In-Reply-To: <AANLkTimwfjhY1CYYef01+w+knyT60pYyEZbyn70dNzht@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--- Mer 13/10/10, Al  ha scritto:

> Hello,
>=20
> I tried this tutorial: http://cygwin.com/cygwin-ug-net/dll.html
>=20
> The DLL source is "mydll.c". The DLL is linked with "gcc -o
> myprog
> myprog.c -L./ -lmydll".
>=20
> For the DLL I tried different names:
>=20
> * mydll.dll
> * cygmydll.dll
> * xmydll.dll
>=20
> "mydll.dll" and "cygmydll.dll" are found by
> "-lmydll".=A0 "xmydll.dll"
> isn't found by "-lmydll" but by "-lxmydll".
>=20
> It seems the "cyg" prefix is build into the linker
> upstream.
>=20
> 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

>=20
> Al

Marco


=20=20

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