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]

RE: XWin Imakefiles


Alexander is correct.

Suhaib, are you going to send in this patch, or do you want me to?

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of Alexander
> Gottwald
> Sent: Tuesday, April 17, 2001 5:01 PM
> To: XFree86/Cygwin Mailing list
> Subject: 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]