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


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

Re: Fix for XFree86



> I think it's not necessary to have libX11.dll in /usr/X11R6.3/bin.
> As I wrote, it should be found in xc/exports/bin, as libX11.a in
> xc/exports/lib.
> 

During compilation, DLLs are not moved to xc/exports/libs.  The Makefiles contains -L/usr/X11R6.3/lib.
If you want to have DLLs in export/lib directory, you can move them manually??


> Actually, all the binaries under xc/programs are built using libraries
> in xc/exports/lib, which is populated by the preceding build process
> of xc/lib.

Yes they are but the DLLs are not.

> If the platform supports true static linking, the generated binary
> can run in its own right.

Theoretically yes.  But X11 system is based up shared libraries (i.e. *.so), right?  

> However, in cygwin, libX11.a is only a placeholder, meaning that
> the generated binary still requires libX11.dll to run.
> 

Same applied to UNIX too.  On UNIX you need libX11.so, instead of DLLs, am I right?

> So, IMHO, putting generated DLLs into xc/exports/bin during the build
> process is better than distributing another huge tarball for
> precompiled DLLs.
> This can be easily done, and I required no preinstalled libX11.dll.
> 
> How do you think about it?

I feel good about it :-)  Thanks for your suggestions.

Regards
Suhaib

> 
> Regards,
> ---------
> Takayuki TAMURA (ttathome@remus.dti.ne.jp)
> 


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