head	1.3;
access;
symbols
	pre-typed:1.3;
locks; strict;
comment	@# @;


1.3
date	94.07.27.22.35.36;	author sls;	state Exp;
branches;
next	1.2;

1.2
date	94.06.20.21.42.38;	author sls;	state Exp;
branches;
next	1.1;

1.1
date	94.06.19.06.54.25;	author sls;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Minor changes.  Apparently works on SGI machines too.
@
text
@	$Id: INSTALL,v 1.2 1994/06/20 21:42:38 sls Exp sls $

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
@


1.2
log
@Add example LBL configure invocation.  Note that NArrayFloat can
be edited in narray.h.
@
text
@d1 1
a1 1
	$Id: INSTALL,v 1.1 1994/06/19 06:54:25 sls Exp sls $
d33 1
a33 1
For example, at LBL I use:
d35 3
d59 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
	$Id$
d6 5
a10 1
1. Run the configure script, specifying location of tcl, tk, and
d33 1
a33 1
2. Check config.status and re-run until it looks ok.
d35 4
a38 1
3. Run make, then make install.
d40 4
@
