This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
XWin Imakefiles
- To: XFree86/Cygwin Mailing list <cygwin-xfree at sources dot redhat dot com>
- Subject: XWin Imakefiles
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- Date: Tue, 17 Apr 2001 23:00:58 +0200 (MEST)
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