Dynamic linking.. or??

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Wed May 23 17:41:00 GMT 2001


> Okay, my build has completed with Suhaib's earlier patch to
> xc/config/cf/cygwin.tmpl and:
> #define SharedLibXpm NO
> 
> Previous build had /usr/X11R6/lib/libXpm.a (27 kB), new build has
> /usr/X11R6/lib/libXpm.a (69 kB).
> 
> Previous build had /usr/X11R6/bin/libXpm.dll (45 kB), new build does not
> have /usr/X11R6/bin/libXpm.dll.
> 
> Total size of /usr/X11R6/ went from (87,183,595 bytes) to (88,048,056
> bytes)
> 
> Apparently a whole lot of stuff links to Xpm.  :)
> 
> This appears to be as expected, correct?

Yes it is correct.  

But what about commenting our #define SharedLibXpm (removing it from
cygwin.rules)  does it still build libXpm.Dll.  I assume it will not.
We need #define SharedLibpXpm Yes in cygwin.rules, to build libXpm as DLL.
I did not understand Andy, why after removing #define SharedLibXpm from
cygwin.rules, xmkmf genrates Makfiles from Imakefile with -lXpm after -lXaw.



Suhaib

> 
> I tested the server and it works.
> 
> Harold



More information about the Cygwin-xfree mailing list