XWin Imakefiles

Alexander Gottwald Alexander.Gottwald@informatik.tu-chemnitz.de
Tue Apr 17 14:00:00 GMT 2001


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



More information about the Cygwin-xfree mailing list