This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Newbie looking for /usr/lib/libX11.a
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: cygwin-xfree at cygwin dot com, jkmccarthy at pacbell dot net
- Date: Mon, 22 Nov 2004 02:17:18 +0100
- Subject: Re: Newbie looking for /usr/lib/libX11.a
- Organization: Esse keine toten Tiere
- References: <loom.20041122T014042-351@post.gmane.org>
- Reply-to: cygwin-xfree at cygwin dot com
Jim McCarthy wrote:
Hello --
I'm trying to build some PC-Linux software under Cygwin/X, and the build script
complains that it can't find /usr/lib/libX11.a ... nor have I been successful
in locating this file manually.
Closest match I've found so far is /usr/X11R6/lib/libX11.dll.a ... is this the
Cygwin/X equivalent of libX11.a ?
libX11.dll.a is the import library, libX11.a would be the the static
archive but there is no static archive available. Just link against X11
as usual:
gcc -o xprog xprog.o -L/usr/lib/X11R6 -lX11
If the configuration tries to find libX11.a it needs to be fixed to
either look for libX11.dll.a or to try to link a test program and don't
look if there is a library file at all.
Gerrit
--
=^..^=