	$Id: INSTALL,v 1.3 1994/07/27 22:35:36 sls Exp $

To Install
----------

1. Check the definition for NArrayFloat (and NARRAY_NCFLOAT) in
narray.h.  If you want double precision narray's, change the defn. of
NArrayFloat.

2. Run the configure script, specifying location of tcl, tk, and
optionally netcdf:

switch			meaning
----------------------- ----------------------------------------------------
--with-tcl=path		look for tcl.h in path/include, libtcl.a in path/lib
			(path defaults to /usr/local)

--with-tcl-include=path
--with-tcl-lib=path	look for tcl.h or libtcl.a in path

--with-tk=path		look for tk.h in path/include, libtka. in path/lib
			(path defaults to /usr/local)

--with-tk-include=path
--with-tk-lib=path	look for tk.h or libtk.a in path
		
--with-netcdf=path	look for netcdf.h in path/include, libnetcdf.a
			in path/lib (path defaults to /usr/local)

--with-netcdf-include=path
--with-netcdf-lib=path	look for netcdf.h or libnetcdf.a in path

--with-gcc		use gcc instead of cc

For example, at LBL when I compile this to install in ~/sw/narray.sun4.sos5
I use:

./configure --prefix=/home/ux5/ux5g/icsd/sls/sw/narray.sun4.sos5 \
	--with-tcl=/vol/pub/tcl-7.3 --with-tk=/vol/pub/tk-3.6p1 \
	--with-netcdf=/home/ux5/ux5g/icsd/sls/sw/netcdf.sun4.sos5 \
	--with-gcc


3. Check config.status and re-run until it looks ok.

4. Run make, then make install.

Machines
--------

Here's a list of machines narray has been compiled on:

architecture OS	        compiler & notes
------------ ---------  ---------------------------
sparc	     SunOS 4.1  GNU C
sparc	     Solaris2.3 GNU C 2.5.8 & the unbundled compiler.  GNU C
			seems to generate better code.
i486	     Linux 1.1  GNU C 2.5.8
mips	     IRIX 5.2	GNU C 2.5.8 -- mostly untested
