From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12152 invoked by alias); 13 Oct 2010 10:35:15 -0000 Received: (qmail 12076 invoked by uid 22791); 13 Oct 2010 10:35:14 -0000 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 Received: from nm11.bullet.mail.ukl.yahoo.com (HELO nm11.bullet.mail.ukl.yahoo.com) (217.146.183.185) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 13 Oct 2010 10:35:08 +0000 Received: from [217.146.183.211] by nm11.bullet.mail.ukl.yahoo.com with NNFMP; 13 Oct 2010 10:35:05 -0000 Received: from [217.146.183.178] by tm4.bullet.mail.ukl.yahoo.com with NNFMP; 13 Oct 2010 10:35:04 -0000 Received: from [127.0.0.1] by omp1019.mail.ukl.yahoo.com with NNFMP; 13 Oct 2010 10:35:04 -0000 Received: (qmail 37234 invoked by uid 60001); 13 Oct 2010 10:35:03 -0000 Message-ID: <877933.37007.qm@web25505.mail.ukl.yahoo.com> Received: from [57.67.164.37] by web25505.mail.ukl.yahoo.com via HTTP; Wed, 13 Oct 2010 11:35:03 BST Date: Wed, 13 Oct 2010 10:35:00 -0000 From: Marco Atzeri Subject: R: cygxxx.dll or xxx.dll? To: cygwin@cygwin.com, Al In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-10/txt/msg00306.txt.bz2 --- 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