For When You Can't Have The Real Thing
[ start | index | login ]
start > cygwin > gpw

gpw

Created by dave. Last edited by dave, 12 years and 93 days ago. Viewed 2,861 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Building gpw on cygwin

gpw source: >>http://www.multicians.org/thvv/tvvtools.html#gpw

I couldn't get gpw to build on cygwin. I had to:

  • download all the provided files: gpw.C, gpw.Makefile, loadtris.C
  • change gpw.C and loadtris.C to return int from main instead of void
  • build it all on linux somewhere
  • copy the trigram.h file from the linux system to the cygwin system
  • build it on cygwin
  • rename gpw.exe to gpw for convenience
The problem is that the loadtris can't find the /usr/share/dict/words file, and I can't figure out which cygwin package that is a part of.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt