This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Dynamic linking.. or??
- To: "'Andrew Markebo'" <flognat at flognat dot myip dot org>, "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- Subject: RE: Dynamic linking.. or??
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 23 May 2001 07:43:00 -0400
> Yep it is in cygwin.rules.. Hmm ahh there we have a dll.. Hmm
> how does everything work??
>
> Consider me doing
> gcc -o myapp myapp.o -lX11 -lXaw
>
> On solaris it links with libXaw.so, which probably
> automatically loads libXpm.so during runtime.
>
> Checking an strace of the above on cygwin shows that it looks
> for libXaw.dll.a, fails and then loads libXaw.a, thats why it
^^^^^ huh? Who looks for libXaw.dll.a? We have no such thing.
Compiling libXaw.dll is not a good idea due to design of
DLLs which M$ opted.
> wants us to include -lXpm, it _doesn't_ link dynamically!!
You can send a patch if you have an idea how to do it. :-) For now you must
add
-lXpm -lXaw -lX11 to llinker
Suhaib
>
> So as developer, compiling apps, can I link dynamic?? (is
> libXaw.dll the same as libXaw.dll.a?? Suppose that the cygwin
> FAQ will answer
> that)
>
> /Andy
>
>
>
>
>
>
>
>
>
>
>