
	(C)1993 Institute for New Generation Computer Technology
		Read COPYRIGHT for detailed information.


1. The environment DCP-System can be executed.

Compilation and execution of DCP-System require that (1) OS is UNIX,
(2) version of X window system is X11R4 or later.  The following table
is machines on which we have confirmed that DCP-System works.

	machine         |mem (MB)| tmp (MB)|         OS          | X window
	----------------+--------+---------+---------------------+----------
	Sparc Station 1 |     16 |       8 |SunOS R4.1.1-JLE1.1.1| X11R4
	Sparc Station 2 |     16 |       8 |SunOS R4.1.1-JLE1.1.1| X11R5
	NeWS (NWS1750)  |      8 |       3 |NEWS-OS R4.0C        | X11R4
	LUNA 88K (4 CPU)|     32 |       8 |Mach 2.5 Vers 1.31   | X11R4


2. Installation.

(The examples in the description are the result of Sparc Station 2.)

(1) Change the current directory to the directory `dcp/program' where
the source files are stored. 

	chanel:mya-u% cd program
	/home/camille1/mya-u/proj/dcp/program
	chanel:mya-u%

(2) Execute `xmkmf.' ==> Makefile for installation is generated.

	chanel:mya-u% xmkmf
	imake -DUseInstalled -I/usr/lib/X11/config
	chanel:mya-u%

(3) Execute `make Makefile' ==> Makefile for linking is generates.

	chanel:mya-u% make Makefile
	+ rm -f Makefile.bak 
	+ mv Makefile Makefile.bak 
	imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=. -DCURDIR=.
	chanel:mya-u%

(4) Execute `make Makefiles' ==> Makefiles for compilation is
generated in the directories `dcp/program/main' and `dcp/program/unix.'

	chanel:mya-u% make Makefiles
	making Makefiles in ././main...
	rm -f ./main/Makefile.bak
	cd ./main; imake -DUseInstalled -I/usr/lib/X11/config
				-DTOPDIR=../. -DCURDIR=././main; \
	make  Makefiles
	making Makefiles in ././unix...
	rm -f ./unix/Makefile.bak
	cd ./unix; imake -DUseInstalled -I/usr/lib/X11/config
				-DTOPDIR=../. -DCURDIR=././unix; \
	make  Makefiles
	chanel:mya-u%

(5) Execute `make all' ==> The object file `dcp' is generated.

	chanel:mya-u% make all
	(cd ./main; make all)
	gcc -g -pipe     -DX_LOCALE -DX_WCHAR -DXML
				-DUNIX  -target sun4 -c  binding.c
	gcc -g -pipe     -DX_LOCALE -DX_WCHAR -DXML
				-DUNIX  -target sun4 -c  clause.c
				...
	rm -f dcp	
	gcc -o dcp -g -pipe  ./main/binding.o ./main/clause.o
		./main/expression.o ./main/feature.o ./main/formula.o
		./main/link.o ./main/print.o ./main/y.tab.o
		./main/delete.o ./main/pressure.o ./main/probe.o
		./main/literallist.o ./main/subsume.o ./main/absorb.o
		./main/copy.o ./main/control.o ./main/allocate.o
		./main/spread.o ./main/command.o ./main/debug.o
		./main/info.o ./main/backp.o ./main/main.o
		./main/speech.o ./main/special.o ./main/loop.o
		./unix/visual.o ./unix/button.o ./unix/callback.o
		./unix/mark.o ./unix/draw1.o ./unix/draw2.o
		./unix/draw3.o -lXext -lX11 -lm   
	chanel:mya-u%


(3) Miscellaneous

* To use `cc' instead of `gcc' ==> Change the definitions `CC = gcc'
into `CC = cc' in the Imakefiles.

* To use `yacc' instead of `bison' ==> Change the definitions `YACC =
bison -y' into `YACC = yacc' in the Imakefiles.
