delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/22/08:21:27

From: dasilva AT woodmore DOT gsfc DOT nasa DOT gov (Arlindo da Silva)
Subject: Re: xdvi linking problems.
22 Jun 1997 08:21:27 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706221401.KAA01748.cygnus.gnu-win32@woodmore.gsfc.nasa.gov>
Mime-Version: 1.0
Original-To: da AT maigret DOT cog DOT brown DOT edu (David Ascher)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.SGI.3.95q.970622000504.26728A-100000@maigret> from "David Ascher" at Jun 22, 97 00:14:05 am
X-Mailer: ELM [version 2.4 PL21]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 
> 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 AT alum DOT mit DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019