This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Dynamic linking.. or??



> / 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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]