packages icon

	This directory contains the sources for the RLaB subset of the
	LAPACK library (v2.0). The C subroutines herein were generated
	with f2c.  Both f2c, and LAPACK are available from netlib.

	The command used to generate the C source was `f2c *.f'

	To make:

	1) Type `./configure'

	The options configure will recognize:

	--with-prefix=install_dir_pathname

	--with-cc=full_cc_pathname
	--with-ld=full_ld_pathname
	--with-ar=full_ar_pathname
	--with-ranlib=full_ranlib_pathname

	These options are designed to allow users to specify alternate
	programs to use so that cross compiling can be performed. If
	you are compiling this library for a native platform then you
	should not need to specify any options.

	2.) Type `make'

	3.) Type `make -n install'

	The default installation directory is `/usr/local/lib'. If you
	wish to install the library in another directory the do:
	
		make -n install prefix=/usr/wherever/lib

	3a) If you are satisfied with the "make install" command
	output, then retype the command without the `-n'.


	Notes:

	1.) On [34]86 systems using gcc, zhetd2.c must be compiled
	without optimization (`-g'). If you are using such a system
	do:  

	./configure
	make
	touch zhetd2.c
	make CFLAGS="-g"
	make -n install
	make install

	This problem exists for gcc-2.4.5 (at least). The problem
	seems to have dissappeared (before I had a chance to report
	it) in gcc-2.5.2.


	2.) If you want to build a shared-library (recomended) you
	will need to set your compiler flag to generate Position
	Independent Code (PIC or pic usually), and the linker/compiler
	flag to build a shared-object (-G, or -shared on most). With
	gcc, modify the following lines in the configure generated
	Makefile. 

	CC = 		gcc
	LD = 		ld
	CFLAGS =	-fpic -O2

	libClapack.so:	$(DOBJ) $(ZOBJ) $(MISC_OBJ)
			$(CC) -shared -o libClapack.so $? \
			-L/usr/local/lib -lCblas -lF77 -lI77 -lm -lc