GLOBALBASE ARCHITECTURE Developping Environment
for UNIX architectures.

0. Support Information

The UNIX version supports following architectures:

	COSMOS GLOBALBASE VIEWER
	LANDSCAPE GLOBALBASE SERVER

LANDSCAPE GLOBALBASE SAVER is only supported on the solaris and
MacOSX.


1. Using utilities

	mmake		MORI make system in utils archive
			~/utils/unix/mmake
	p2c		plain to C preprocessor
			~/utils/unix/p2c
	mdep		MORI devendency checker
			~/utils/unix/mdep
	gcc and so on	some c compliler for target machine
			Default one is gcc.

mmake,mversion, mdep and p2c's compile documents are in the each
directory README.  You must make mmake at first.

mmake is made by
	gcc -g main.c
	cp a.out SomeBinaryDirPath/mmake

mdep and mversion also are made by the same way.


2. How to make all binaries for GLOBALBASE ARCHITECTURE

change to this directory and do mmake.

	% mmake
		# for solaris default
	% mmake MACHINE=MacOSX
		# for MacOSX

You can use MACHINE variable option as following...

	MACHINE=solaris
	MACHINE=MacOSX
	MACHINE=linux.redhat
	MACHINE=FreeBSD

The result binaries are save under the ./{MACHINE}/bin.
The object files are save under the ./{MACHINE}/work.

3 How to debagging the binaries.

Insert the path to env/proj/unix/${MACHINE}/bin for debugging all.

Set the XLPATH equalt to 
	${HOMEofGLOBALBASE}/server/xlscript/sbin:\
	${HOMEofGLOBLBASE}/server/xlscript/std:\
	${HOMEofGLOBALBASE}/server/xlscript/gbs
to use GLOBALBASE server script.

4.How to make binary installer for COSMOS and LANDSCAPE

Change the directory to env/proj/unix and do as following

	% ./make.cosmos.installer

and you can get execution file cosmos.t under the directory
env/proj/unix/${MACHINE}.

	% ./make.landscape.installer

you can get execution file landscape.t under the same directory.


2003.3.14.
Hirohisa Mori <joshua@nichibun.ac.jp>

