[winGRASS] libG11
Malcolm Blue
mblue at nb.sympatico.ca
Tue Oct 2 07:39:49 EDT 2001
> -----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