dlopen(0, RTLD_LAZY) doesn't work?

vipin aravind vipin.aravind@wipro.com
Fri Feb 8 04:12:00 GMT 2002


__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.collins@itdomain.com.au>
> wrote:
> >
> > ===
> > ----- 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.
>
> 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/
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020208/22dafd39/attachment.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list