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]

XWin Imakefiles


Hi,

The Imakefile in xc/programs/Xserver should get changed for the following 
lines:

XWIN = $(XWINDDXDIR)/LibraryTargetName(XWin)
XWINGDI32 = /lib/libgdi32.a
XWINDDRAW = /lib/libddraw.a
to
XWIN = $(XWINDDXDIR)/LibraryTargetName(Xwin)
XWINGDI32 = -lgdi32
XWINDDRAW = -lddraw

the first is no problem when compiling on windows, but the
crosscompiler on linux complains about this.
(Yes, I nearly got all compiling, even on linux -- after two weeks ;-> )

the second could effect everbody who has set up his libraries in
another path than the standard one.

The patch below should do it
-------8<-------8<--------
--- Imakefile-orig      Thu Apr  5 22:13:42 2001
+++ Imakefile   Tue Apr 17 22:50:58 2001
@@ -1112,9 +1134,9 @@
 XCOMM server with DirectX framebuffer for Windows
 XCOMM
 XWINDDXDIR = hw/xwin
-XWIN = $(XWINDDXDIR)/LibraryTargetName(XWin)
-XWINGDI32 = /lib/libgdi32.a
-XWINDDRAW = /lib/libddraw.a
+XWIN = $(XWINDDXDIR)/LibraryTargetName(Xwin)
+XWINGDI32 = -lgdi32
+XWINDDRAW = -lddraw
 /* XWINOLE32 = /lib/libole32.a */
 DDXDIR1 = $(XWINDDXDIR)
 XWINDIRS = $(STDDIRS) $(FB) $(SHADOW) $(XWINDDXDIR) $(DEPDIRS)
-- 
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org
+49 3725 3498080


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