
How to build grep 2.2
---------------------

- Sources : grep22 tar file

- Unpack all c files into the c dir

- Unpack all h files into the h dir

- Add config.h from my Gawk 3.0.3 port

- In config.h add (at end)
  ---------------------------------------------------------------------------------------------
	#define HAVE_GETPAGESIZE
	#define HAVE_MEMCHR
	#define VERSION "2.1"
  ---------------------------------------------------------------------------------------------

- In system.h :
  - delete the #include <io.h>
  - ensure SET_BINARY(fd) is (void)0

- In grep.c add (at start)
  ---------------------------------------------------------------------------------------------
	const char* __dynamic_da_name = "grep";
	int __riscosify_control;
	#define __RISCOSIFY_NO_PROCESS 0x0040;
  ---------------------------------------------------------------------------------------------

- In grep.c add (at start of main())
  ---------------------------------------------------------------------------------------------
	__riscosify_control |= __RISCOSIFY_NO_PROCESS;
  ---------------------------------------------------------------------------------------------

