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


Created by dave. Last edited by dave, 17 years and 225 days ago. Viewed 4,024 times. #2
[diff] [history] [edit] [rdf]

Building gpw on cygwin

gpw source: >>

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: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt