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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie looking for /usr/lib/libX11.a


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 -- =^..^=


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