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>, Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Subject: RE: Dynamic linking.. or??
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 23 May 2001 08:18:49 -0400
- Cc: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
> / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
> | > | > 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
> | >
> | > A simple patch, try to change in cygwin.rules..
> | > cygwin.rules:#define SharedLibXpm YES
> |
> | You need to test first please. However I do not think it will help
> | Because we build a static libXaw.a not libXaw.dll.
>
> I am not 100% sure how it works, doing (in cygwin.rules):
>
> #define SharedLibXpm NO
That will compile libXpm.a as a static library when you compile X sources.
>
> doesn't help, but rmoving (commenting out) the line "#define
> SharedLibXpm Yes" makes xmkmf add -lXpm in the Makefile
Let me look into it.
Suhaib
>
> /Andy
>