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


Harold,
Can you send me your patch?  How about only one person start collecting
patches and submitting to XF86 ORG.  I already sent the patches for
our last week modification.  After I am done with pthread issues I will send
a new set of patches, then I could send the Imakefile patch.  There were
some other issues with this Imakefile, for example Xnest and Xvfb were
looking
for libXF86_OS.a which we do not compile on Cygwin.  The XWin.exe
compilation with your changes was returning error __infinity multiple
references for -lm and -lcygwin, I had to add #define MathLibrary /**/ to
disable -lm linking.  The XWin linking was also returing error -lshadow "no
such file".  All these problems were fixed in Imakefile and patches were
sent last week to XF86 ORG.

Suhaib

> -----Original Message-----
> From: Harold Hunt [mailto:huntharo@msu.edu]
> Sent: Tuesday, April 17, 2001 10:42 PM
> To: 'Alexander Gottwald'; 'XFree86/Cygwin Mailing list'
> Subject: 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]