Christian Spieler                               Saturday, 12-June-1993

This archive contains a patched version of the GNU index sorter
"texindex" (Version 1.45) from the texinfo-3.1 package.
The patches have been applied to get a working texindex on MSDOS systems.

Contents of the archive:

	texindex.c	- the patched source
	getopt.c	-  ..
	getopt.h	-  ..
	texindex.exe	- executable for MSDOS compiled by MSC 5.10
	alloca.mar	- GNU's alloca() replacement for VMS
	changes		- a hacked change log
	00readme	- this file

Some hint for compiling on MSDOS:
- The program needs a lot of data space, you have to use a large data model.
  Since the code fits into one 64k segment, compact model is sufficient.
- The default MSC stack allocation is too small. Reserving  8 kByte (0x2000)
  of stack space seems to be sufficient for MSC.
- For MSC 5.1, the following command should compile an executable (nearly)
  identical to the distributed file:

  cl -AC -Ox -W3 -Fm -F 2000 texindex.c getopt.c /link /exe

  (The -W3 and -Fm flags are optional, remove them if you do not want
   warning messages or a map file.)
- For Borland (or Turbo) C(++) use:

  tcc -mc -O -G -Z -a -d texindex.c getopt.c

  (The optimization option might be different for newer Borland C++ versions.)

--
Christian Spieler
<spieler@linac.ikp.physik.th-darmstadt.de>


======================================================================

I have added texindex.pch which is a patch file to produce
Christian's versions from the original ones. (Of course, you might
also produce the original ones with this file, just call patch with
-R.) And I've added COPYING (thou shalt not have an distribution
without it ;-).

Thanks to him for the fine work.

--
Joachim Schrod
<schrod@iti.informatik.th-darmstadt.de>
