This is the mail archive of the cygwin@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: xdvi linking problems.


> 
> I have a question which I hope you can help with -- I'm trying to build
> xdvi on gnuwin/b18.  I've installed sergey's X11 dll's, but the Makefile
> is looking for the good ole' libX11.a, not libX11.dll -- how can I either
> get a .a from a .dll, or alternatively tell gcc to link with the .dll? 
> 

You have several options:

1) Make a libX11.a from libX11.dll as Alex suggests;

2) Grab libX11.a from:

   ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3/X11R6.3/lib/libX11.a

   which also requires the libX11.dll that you already have,

or

3) Grab the full static libX11.a from

   ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3/X11R6.3/lib/static/libX11.a

   This does not require the libX11.dll.

BTW, if you use the static libraries (which causes the executables to
be larger) your client will work with the original b18 cygwin.dll, no
need for Sergey's patch. 

   Arlindo.

-- 

   *-----------------------------------------------------------------*
   |                                                                 |
   |             ^|^                     ARLINDO DA SILVA            |
   |              |                     212 Lexington Drive          |
   |             _|_                  Silver Spring, MD 20901        |
   |      @  ___|___|__                                              |
   |     _|_|__________|_______/    mailto://dasilva@alum.mit.edu    |
   |    \  o o o o o o o  /                                          |
   |     \_______________/            Home: (301) 754-1121           |
   |  ^^^^^^^^^^^^^^^^^^^^^^^^         FAX: (301) 805-7959           |
   |                                                                 |
   *-----------------------------------------------------------------*
                                  

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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