* doc/texinfo.tex: Update to latest version.
[s-roff.git] / INSTALL
blob0465f4e5890e91f946c4b08ac9f7d56aee0c754a
1 To install groff, follow the instructions in the file INSTALL.gen.
3 This file contains information that supplements those instructions.
5 (For instructions how to build groff with DJGPP tools for MS-DOS and
6 MS-Windows, see the file arch/djgpp/README.)
8 groff is written in C++, so you will need a C++ compiler.  The C++
9 source files use a suffix of `.cc', so your C++ compiler must be able
10 to handle this.  If you don't already have a C++ compiler, I suggest
11 gcc 2.7.1 or later (gcc version 2 includes GNU C++ as well as GNU C).
12 From gcc 2.5, it is no longer necessary to install libg++: the C++
13 header files needed by groff are created by the gcc installation
14 process.  To override configure's choice of C++ compiler, you can set
15 the CXX environment variable.
17 If you have a library that provides a faster malloc than your system's
18 usual malloc, it is good idea to include it in LIBS.  For example,
19 using the malloc that comes with GNU Emacs version 20 can give a
20 worthwhile (and sometimes spectacular) performance improvement.
22 When you have built groff, you can use the test-groff script to try
23 groff out on one of the man pages.  (Use the .n files not the .man
24 files.)  The test-groff script sets up environment variables to allow
25 groff to run without being installed.  The current directory must be
26 the build directory when the script is run.  For example, you could do
28   ./test-groff -man -Tascii src/roff/groff/groff.n | less
30 If you want to compile and install gxditview (an X11 previewer),
31 follow the instructions in the INSTALL file in the src/xditview
32 subdirectory.
34 To get PostScript versions of the documentation resp. reference files
35 for the `me' macros and the `pic' preprocessor, simply say `make' in
36 the `doc' subdirectory.
38 If you have problems, read the PROBLEMS file.  If this doesn't help
39 send a bug report using the form in the file BUG-REPORT.