[winGRASS] libG11
Mike Thomas
mthomas at gil.com.au
Tue Oct 2 08:24:12 EDT 2001
Thanks for the update... I'm hoping to test further on W98 soon.
----- Original Message -----
From: Malcolm Blue <mblue at nb.sympatico.ca>
To: Mike Thomas <mthomas at gil.com.au>; Markus Neteler <neteler at itc.it>
Cc: Roberto Flor <flor at itc.it>; Glynn Clements <glynn.clements at virgin.net>;
<wingrass at grass.itc.it>
Sent: Tuesday, 2 October 2001 9:39 PM
Subject: RE: [winGRASS] libG11
>
>
> > -----Original Message-----
> > From: wingrass-admin at grass.itc.it [mailto:wingrass-admin at grass.itc.it]On
> > Behalf Of Mike Thomas
>
> >
> > PART 1 - Making libW11
> >
> > I don't know what the CVS structure is, but assuming there is a
directory
> > called "windows/libW11" somewhere in the XDRIVER tree, change directory
> > there.
> >
> > Then type:
> >
> > make clean
> > make
> > cp lib/libG11.dll /bin
> >
>
> Mike, here use make install. If you switch to new version remember to
> clean out old libG11.dll from /bin. This installs to /usr/local/bin.
> >
> > PART 2 - Modifying the head.i686-pc-cygwin file to define __W98__
> > and to set
> > the include path and library details:
> >
> > COMPILE_FLAGS = -O -D__W98__
> > XCFLAGS
> > =
> > -I/grass/src/display/devices/XDRIVER/XDRIVER24/windows/libW11
> > XLIBPATH
> >
> > =
> > -L/grass/src/display/devices/XDRIVER/XDRIVER24/windows/libW11/lib
> > XTLIBPATH =
> > XMLIBPATH =
> > XLIB = -lX11
> >
>
> Note that windows/libW11 is under devices:
> XCFLAGS= -I/grass/src/display/devices/windows/libW11
> XLIBPATH= -I/grass/src/display/devices/windows/libW11/lib
> >
> > PART 3 - Rebuilding "display/devices", "d.mon" etc
> >
> > Delete the "obj.i686-pc-cygwin" .o files in "devices/lib" and
> > "XDRIVER" and
> > "d.scale" directories and rebuild with gmake5. The aim here is to
ensure
> > that no remaining object files were compiled with XFree86 headers and
> > libraries - I may have forgotten some directories - safest to redo
> > everything.
> >
>
> devices/lib doesn't use X. It is linked into XDRIVER.
>
> The other day after downloading into a new directory, I did the above
steps
> before compiling grass (between ./configure and make). It worked fine.
>
> BTW. Since libG11 is a .dll, it is OK to just recompile the libG11.dll on
> minor changes to libG11, i.e. as long as entry points in the .dll don't
> change. If in doubt, recompile XDRIVER too.
>
>
> Regards,
>
> Malcolm
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.281 / Virus Database: 149 - Release Date: 9/18/2001
>
More information about the grass-windows
mailing list