| 1 | GREP DJGPP README | 
|---|
| 2 | ================= | 
|---|
| 3 |  | 
|---|
| 4 | To compile the Grep package with DJGPP tools, you will need the | 
|---|
| 5 | following tools (the names of the archives on DJGPP ftp sites where | 
|---|
| 6 | these tools are available are in parentheses): | 
|---|
| 7 |  | 
|---|
| 8 | -  The basic DJGPP development environment, including the | 
|---|
| 9 | GCC compiler and the libraries (v2gnu/gccNNNb.zip, | 
|---|
| 10 | v2gnu/bnuNNNb.zip, v2/djdevNNN.zip). | 
|---|
| 11 |  | 
|---|
| 12 | -  GNU Make revision 3.75 or later (v2gnu/makNNNb.zip). | 
|---|
| 13 |  | 
|---|
| 14 | -  GNU Bash (v2gnu/bshNNNb.zip). | 
|---|
| 15 |  | 
|---|
| 16 | -  GNU Sed (v2gnu/sedNNNb.zip). | 
|---|
| 17 |  | 
|---|
| 18 | -  GNU M4 (v2gnu/m4-NNNb.zip). | 
|---|
| 19 |  | 
|---|
| 20 | -  GNU Fileutils (v2gnu/filNNNb.zip), Textutils | 
|---|
| 21 | (v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip). | 
|---|
| 22 |  | 
|---|
| 23 | -  A (previous version of) GNU Grep (v2gnu/grepNNb.zip). | 
|---|
| 24 |  | 
|---|
| 25 | Running the tests ("make check" in the top-level directory) | 
|---|
| 26 | additionally requires Gawk (v2gnu/gwkNNNb.zip).  TAGS and ID targets | 
|---|
| 27 | require `etags' (from the Emacs distribution) and `mkid' (from | 
|---|
| 28 | ID-utils, v2gnu/iduNNb.zip), respectively. | 
|---|
| 29 |  | 
|---|
| 30 | All of these tools are available from the DJGPP archive sites. | 
|---|
| 31 |  | 
|---|
| 32 | To build Grep: | 
|---|
| 33 | sh autogen.sh | 
|---|
| 34 | sh configure | 
|---|
| 35 | make | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 | Source distributions on DJGPP sites usually come pre-configured, so | 
|---|
| 39 | all you need to do in order to build the programs is to say "make". | 
|---|
| 40 | However, source distributions on GNU ftp sites, like ftp.gnu.org, | 
|---|
| 41 | need to be configured by running sh configure.  You will also need | 
|---|
| 42 | to run it if you need to configure Grep differently than for the | 
|---|
| 43 | default configuration, for example if you want to install the programs | 
|---|
| 44 | in a directory other than the bin subdirectory of your DJGPP | 
|---|
| 45 | installation. | 
|---|
| 46 |  | 
|---|
| 47 | To test that the package works, say "make check".  If you don't have a | 
|---|
| 48 | file named sh.exe somewhere on your PATH, "make check" will refuse to | 
|---|
| 49 | run, as it needs a Unix-like shell. | 
|---|
| 50 |  | 
|---|
| 51 | To install, either copy the executables and man pages to the | 
|---|
| 52 | appropriate directories, or say "make install".  To clean up, say | 
|---|
| 53 | "make clean" or "make distclean". | 
|---|
| 54 |  | 
|---|
| 55 | Please note the -u and -U options that specifically target MS-DOS and | 
|---|
| 56 | MS-Windows environments.  They are described in the Grep man page in | 
|---|
| 57 | this distribution. | 
|---|
| 58 |  | 
|---|
| 59 | National Language Support doesn't work in this port, so don't expect | 
|---|
| 60 | the programs to talk to you in any language but English. | 
|---|
| 61 |  | 
|---|
| 62 | Please post any problems in the DOS version to the comp.os.msdos.djgpp | 
|---|
| 63 | news group first, especially if they have something to do with the | 
|---|
| 64 | DOS-specific aspects. | 
|---|
| 65 |  | 
|---|
| 66 | To create the files required for the documentation package | 
|---|
| 67 | perform the following in the docs directory: | 
|---|
| 68 | make grep.dvi | 
|---|
| 69 | make grep.ps | 
|---|
| 70 | makeinfo --html grep.texi -o grep.html | 
|---|
| 71 |  | 
|---|
| 72 |  | 
|---|
| 73 | 2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au> | 
|---|
| 74 |  | 
|---|
| 75 | Enjoy, | 
|---|
| 76 | Eli Zaretskii <eliz@is.elta.co.il> | 
|---|