
This directory contains the binary distribution of HDF4.1r5.
Subdirectory include/ contains all include files; lib/ contains
libmfhdf.a, libdf.a, libjpeg.a  and libz.a; and bin/ contains 
binaries for the HDF utilities.  The binaries were compiled on a 
Sun Sparc running Solaris 2.8.

Once you have installed these files in their permanent locations,
run:

	ranlib libmfhdf.a libdf.a libjpeg.a libz.a

to re-build the symbol tables for the libraries. 

Or run:  
        touch libmfhdf.a libdf.a libjpeg.a libz.a  

if ranlib is not available.

To compile your program with the HDF library use the following
instructions.  The -lnsl option is necessary in order to 
include the xdr library:

C:
    cc -Xc -xO2 -o <your program> <your program>.c  \
       -I<path for hdf include directory>\
       -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz \
       -L/usr/lib -lnsl
 
FORTRAN:
    f77 -O -o <your program> <your program>.f  \
        -L<path for hdf libraries> -lmfhdf -ldf -ljpeg -lz \
        -L/usr/lib -lnsl
 
NOTE: The order of the libraries is important: libmfhdf.a first,
followed by libdf.a, then libjpeg.a and libz.a.  

If the binaries in this directory do not work for you, you can compile
HDF 4.1r5 yourself.

Source code for HDF4.1r5 can be found in /HDF/HDF/HDF_Current/tar/ on the 
NCSA ftp server (ftp.ncsa.uiuc.edu).

Please send questions, comments, and suggestions to:

	hdfhelp@ncsa.uiuc.edu.


