delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <20ea01c1b09a$70de3ef0$b90806c0@vipin> |
Reply-To: | "vipin aravind" <vipin DOT aravind AT wipro DOT com> |
From: | "vipin aravind" <vipin DOT aravind AT wipro DOT com> |
To: | "PsychoSphere" <psychosphere2k AT yahoo DOT com>, |
"Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>, | |
"Pavel Tsekov" <ptsekov AT syntrex DOT com> | |
Cc: | <cygwin AT cygwin DOT com>, <kent AT watsen DOT net> |
References: | <20020208115805 DOT 54479 DOT qmail AT web13508 DOT mail DOT yahoo DOT com> |
Subject: | Re: dlopen(0, RTLD_LAZY) doesn't work? |
Date: | Fri, 8 Feb 2002 17:46:30 +0530 |
Organization: | Wipro Technologies |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
------=_NextPartTM-000-a9ab7aa0-1c76-11d6-a217-0000e22173f5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit __declspec is used as an information to the compiler, don't do double jumps. one jump to a stub and then from the stub-code to the actual code. mere optimization nothing else. > --- Robert Collins <robert DOT collins AT itdomain DOT com DOT au> > wrote: > > > > === > > ----- Original Message ----- > > From: "Pavel Tsekov" <ptsekov AT syntrex DOT 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. > > Wrong... declspec is ignored, as you will see if you > nm the exe produced. > > > > > > > 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. > > An import library is automatically produced as you > would see if you analyzed the sources! > > If you could demonstrate your point using examples, I > would be convinced. I have linked the cygwin1.dll > without the declspec directives... furthermore, the > dll after having symbols striped cannot be used as a > substitute for an import library. > > Stephano Mariani > > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > -- > 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/ > ------=_NextPartTM-000-a9ab7aa0-1c76-11d6-a217-0000e22173f5 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" **************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ******************************************************************** ------=_NextPartTM-000-a9ab7aa0-1c76-11d6-a217-0000e22173f5 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPartTM-000-a9ab7aa0-1c76-11d6-a217-0000e22173f5--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |