Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <03ea01c1b091$45365660$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Pavel Tsekov" <ptsekov@syntrex.com>,
   "PsychoSphere" <psychosphere2k@yahoo.com>
Cc: <cygwin@cygwin.com>, <kent@watsen.net>
References: <20020208105224.24662.qmail@web13507.mail.yahoo.com> <3C63B0A1.8080805@syntrex.com>
Subject: Re: dlopen(0, RTLD_LAZY) doesn't work?
Date: Fri, 8 Feb 2002 22:10:50 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 08 Feb 2002 11:10:24.0594 (UTC) FILETIME=[34D0F320:01C1B091]


===
----- Original Message -----
From: "Pavel Tsekov" <ptsekov@syntrex.com>

> > I believe the __declspec(...) has a similar effect, in
> > that it is ignored unless -shared is specified, or
> > -mdll is used.
>
> Ok, I didn't know that, but hey ... you learn almost every day
> something new :)

Don't learn this one - it's incorrect. Linking with cygwin1.dll would
fail if it were correct.

> > Also, the dllimport directive is never used unless an
> > import library is created and used, which is not the
> > idea here.

Again, this is incorrect. The dllimport directive can be used when
linking directly to a .dll, no importlibrary involved.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

