summaryrefslogtreecommitdiff
path: root/README.DOS
blob: 1e350f1f0485479f28edea681491f4cd7b4d87f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
  Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
  2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  
  Copying and distribution of this file, with or without modification,
  are permitted in any medium without royalty provided the copyright
  notice and this notice are preserved.

GREP DJGPP README
=================

To compile the GNU grep package with DJGPP tools, you will need the
following tools (the names of the archives on DJGPP ftp sites where
these tools are available are in parentheses):

	  -  The basic DJGPP development environment, including the
             GCC compiler and the libraries (v2gnu/gccNNNb.zip,
             v2gnu/bnuNNNb.zip, v2/djdevNNN.zip).

	  -  GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).

	  -  GNU Bash (v2gnu/bshNNNb.zip).

	  -  GNU Sed (v2gnu/sedNNNb.zip).

	  -  GNU M4 (v2gnu/m4-NNNb.zip).

	  -  GNU Fileutils (v2gnu/filNNNb.zip), Textutils
             (v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip).

	  -  A (previous version of) GNU grep (v2gnu/grepNNb.zip).

Running the tests ("make check" in the top-level directory)
additionally requires Gawk (v2gnu/gwkNNNb.zip).  TAGS and ID targets
require `etags' (from the Emacs distribution) and `mkid' (from
ID-utils, v2gnu/iduNNb.zip), respectively.

All of these tools are available from the DJGPP archive sites.

To build grep:
	  sh autogen.sh
      sh configure
	  make


Source distributions on DJGPP sites usually come pre-configured, so
all you need to do in order to build the programs is to say "make".
However, source distributions on GNU ftp sites, like ftp.gnu.org,
need to be configured by running sh configure.  You will also need
to run it if you need to configure grep differently than for the
default configuration, for example if you want to install the programs
in a directory other than the bin subdirectory of your DJGPP
installation.

To test that the package works, say "make check".  If you don't have a
file named sh.exe somewhere on your PATH, "make check" will refuse to
run, as it needs a Unix-like shell.

To install, either copy the executables and man pages to the
appropriate directories, or say "make install".  To clean up, say
"make clean" or "make distclean".

Please note the -u and -U options that specifically target MS-DOS and
MS-Windows environments.  They are described in the grep man page in
this distribution.

National Language Support doesn't work in this port, so don't expect
the programs to talk to you in any language but English.

Please post any problems in the DOS version to the comp.os.msdos.djgpp
news group first, especially if they have something to do with the
DOS-specific aspects.

To create the files required for the documentation package
perform the following in the docs directory:
        make grep.dvi
        make grep.ps
        makeinfo --html grep.texi -o grep.html


2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au>

Enjoy,
				Eli Zaretskii <eliz@is.elta.co.il>