Go to the first, previous, next, last section, table of contents.

Byte-Compilation

Move the lisp files, the C file, and `Makefile' to the appropriate directory in the search path defined by the variable load-path. Before actually byte-compiling the lisp files, make sure there are no byte-compiled files of older versions of GNUS in that directory. Remove or rename such files as the byte-compiler may be confused by old macro definitions. If you can use the `make' command, you don't have to take care of the dependencies.

The C file `tcp.c' should be compiled with a C compiler and installed in a directory in the search path defined by the variable exec-path, if this is required.

If you can use the `make' command, just type make in a Unix shell. All the lisp files will be byte-compiled. Otherwise, byte-compile lisp files in the following order according to your computing environment by yourself:

  1. Byte-compile `nntp.el', `gnus.el', `gnuspost.el', `gnusmail.el', and `gnusmisc.el' in this order.
  2. Byte-compile `nnspool.el' if you want to use the local news spool of your machine instead of NNTP (see section Using Local News Spool).
  3. Byte-compile `mhspool.el' if you want to read articles or mail in your private directory using GNUS (see section Reading a Private Directory).
  4. Compile and install `tcp.el' and `tcp.c' if TCP/IP is not supported by Emacs but is supported by your operating system.

`tcp.el' defines the function open-network-stream, and `tcp.c' is an emulation program for the stream used by the function. If you modified `tcp.c' for your system, please send the author the diffs. Some of them will be included in the future releases of GNUS.


Go to the first, previous, next, last section, table of contents.