
TODO:
-----
	-Read this file (down to the end).
	-Try to build xcoral.
	-Print doc/xcoral-2.0.ps on your favorite printer.
	-And go to the coffee machine.

Content:
--------
	-Some informations about building xcoral.
	-Build xcoral
	-Build xcoral for each of the following systems:
	 SunOS, Ultrix4.3, HP-UX, AIX and Linux.

Preamble:
---------
	Xcoral has been developped on SunOS 4.1.x with
	MIT X11 R[4|5] Window System. We have compiled it
	and tested it (a little) on other systems.

	To build xcoral, you need only one X11 library
	(libX11.a). It's better if you have the MIT X Window System 
	rather than a proprietary x window system.

	You can use your native cc compiler as well as
	GNU gcc.2.4.5 or later version.
	
Warning:
--------
	The lex.yy.c files are built with 'flex -8' (part of GNU
	distribution),and gen.tab.[ch] with the standard
	'yacc -d'. These files are present in this distribution
	and are not produced by make.

Build:
------		
	A/ Set XCORALLIBDIR (default /usr/local/lib/xcoral)
	in Imakefile if the command xmkmf is available,
	else in one of the other Makefile corresponding
	to your system or in Makefile_std. 
	This directory contains Smac files and manual.

	B/ In Smac directory, the word.h file must be the one
	of your system.
	On SunOS4.1.x, HP-UX, ULTRIX43, LINUX and AIX,the file word.h
	is generated correctly by make.
	In the other cases try to build word.h (See target
	word.h in Smac/Imakefile).

	C/ If you don't run MIT X11 R[4|5], edit config.h
	to set fontnames and colornames for your X Window System.
	See also INCLUDE and LIBDIR.

	D/ At the top level type :
		xmkmf
		make All

		or make -f Makefile.SYSNAME

	E/ Copy xcoral in your local bin directory.
	   Copy *.sc and man.dtex in XCORALLIBDIR directory
	   Copy xcoralrc in your homedir as .xcoralrc
		
	F/ SEE ALSO : xcoral-goodies directory present a clever use
	of Smac user functions and .xcoralrc file example

	
Build on SunOS.4.1.X
--------------------
	Sun 3/4, SS2 SS10 with SunOS 4.1.x and MIT X11 R[4|5] or
		OpenWindows2/3.
	Compiler : Standard K&R cc, acc, gcc 2.4.5

	A/ With MIT X11 R[4|5]

		Set XCORALLIBDIR in Imakefile
		xmkmf
		make All

	B/ With OpenWindows 2/3 (don't use Sun xmkmf).
   
		Set XCORALLIBDIR in Makefile_SUN_OPENWIN
		make -f Makefile_SUN_OPENWIN

Build on Ultrix4.3 
------------------
	Dec station 3100 with ULTRIX V4.3 and MIT X11 R[4|5].
	Dec station 5000 with ULTRIX V4.3 and Xws (Dec X11R4 server).
	Compiler : cc 

	Edit Makefile_Ultrix43 to set INCLUDE, LIBDIR and XCORALLIBDIR.
		make -f Makefile_Ultrix43


Build on HPUX
--------------
	HP 9000-720 with HP-UX 9.07 and HP X11R4 server.
	Compiler : cc

	Edit Makefile_HPUX to set INCLUDE, LIBDIR and XCORALLIBDIR.
		make -f Makefile_HPUX

Build on Linux
--------------
	386/486	Box, Compiler : gcc

	xmkmf
	make All

	I've compiled xcoral on a 0.99pl9 Linux box and I've played
	with it	half an hour. Apparently, it's OK.

Build on AIX 3.2: 
-----------------
	RS 6000.
	Edit Makefile_std to set INCLUDE, LIBDIR and XCORALLIBDIR.
		make -f Makefile_std
	

You can send bugs or suggestions to lf@lri.lri.fr

	[Lionel, Bruno, Dominique]
