Dynamic linking.. or??
Suhaib Siddiqi
ssiddiqi@inspirepharm.com
Wed May 23 05:18:00 GMT 2001
> / 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
>
More information about the Cygwin-xfree
mailing list