README 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. This is the README for the source archive of PuTTY, a free Win32
  2. and Unix Telnet and SSH client.
  3. If you want to rebuild PuTTY from source, we provide a variety of
  4. Makefiles and equivalents. (If you have fetched the source from CVS,
  5. you'll have to generate the Makefiles yourself -- see below.)
  6. For building on Windows:
  7. - Makefile.vc is for command-line builds on MS Visual C++ systems.
  8. Type `nmake -f Makefile.vc' to build all the PuTTY binaries.
  9. (We've also had one report of success building with the
  10. OpenWatcom compiler -- www.openwatcom.org -- using Makefile.vc
  11. with `wmake -ms -f makefile.vc' and NO_MULTIMON, although we
  12. haven't tried this ourselves.)
  13. - Inside the MSVC subdirectory are MS Visual Studio project files
  14. for doing GUI-based builds of the various PuTTY utilities. These
  15. have been tested on Visual Studio 6.
  16. You should be able to build each PuTTY utility by loading the
  17. corresponding .dsp file in Visual Studio. For example,
  18. MSVC/putty/putty.dsp builds PuTTY itself, MSVC/plink/plink.dsp
  19. builds Plink, and so on.
  20. - Makefile.bor is for the Borland C compiler. Type `make -f
  21. Makefile.bor' to build all the PuTTY binaries.
  22. - Makefile.cyg is for Cygwin / mingw32 installations. Type `make -f
  23. Makefile.cyg' to build all the PuTTY binaries. Note that by
  24. default the Pageant WinNT security features and the multiple
  25. monitor support are excluded from the Cygwin build, since at the
  26. time of writing Cygwin doesn't include the necessary headers.
  27. - Makefile.lcc is for lcc-win32. Type `make -f Makefile.lcc'. (You
  28. will probably need to specify COMPAT=-DNO_MULTIMON.)
  29. For building on Unix:
  30. - unix/Makefile.gtk is for Unix and GTK. If you don't have GTK, you
  31. should still be able to build the command-line utilities (PSCP,
  32. PSFTP, Plink, PuTTYgen) using this makefile. The makefile expects
  33. you to change into the `unix' subdirectory, then run `make -f
  34. Makefile.gtk'. Note that Unix PuTTY has mostly only been tested
  35. on Linux so far; portability problems such as BSD-style ptys or
  36. different header file requirements are expected.
  37. For the graphical utilities, Gtk+-1.2 is required. Gtk+-2.0 is not
  38. yet supported.
  39. There is an `install' target; note that by default it tries to
  40. install `man' pages, which need to be built using Halibut first --
  41. see below.
  42. All of the Makefiles are generated automatically from the file
  43. `Recipe' by the Perl script `mkfiles.pl'. Additions and corrections
  44. to Recipe and the mkfiles.pl are much more useful than additions and
  45. corrections to the alternative Makefiles themselves.
  46. Documentation (in various formats including Windows Help and Unix
  47. `man' pages) is to be built from the Halibut (`.but') files in the
  48. `doc' subdirectory using `doc/Makefile'. Halibut can be found at
  49. <http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.
  50. The PuTTY home web site is
  51. http://www.chiark.greenend.org.uk/~sgtatham/putty/
  52. If you want to send bug reports or feature requests, please read the
  53. Feedback section of the web site before doing so. Sending one-line
  54. reports saying `it doesn't work' will waste your time as much as
  55. ours.
  56. See the file LICENCE for the licence conditions.