                Installing  Sib-pair


Hopefully, you want to install Sib-pair on a Unix box.  Failing that,
you will need to have a compatible version of the make program. 

Since you are reading this, you have unpacked the compressed archive.
Change directory down into ./src.

If you have access to the Gnu Fortran 77 compiler g77, then simply type 

make

and an executable, which may or may not be stripped, will have been placed
in the ./bin directory.

If you are compiling for DOS using the DJGPP g77 port or for Windows or NT using Cygwin
port of g77, then add the extra flag -DDOS to the FFLAGS line.

If you have gcc but not g77 on either of these platforms, install a copy of f2c
(go to http://www.netlib.org for pointers), and then try 
make dos
or
make win
in the ./src directory, after installing a batch job or script called dos-f77.
looking something like this:
:
: compile a Fortran 77 program using f2c and djgpp
:
@echo off
if exist %1.for copy %1.for %1.f
if not exist %1.f goto error
  f2cx %2 %3 %4 %5 %1.f
  if not exist %1.c goto syntax
  gcc -O2 -s %2 %3 %4 %5 -o %1.exe %1.c -lf2c -lm
  rm %1.c
  if exist %1.for rm %1.f
goto fin 
:error
 echo File not found.  Usage: dos-f77 foo, where foo.f or foo.for exists.
 goto fin
:syntax
 echo Compilation error.
:fin

*AND* changing the Makefile from
$(DOS-F77) $(PROGRAM).f
to
$(DOS-F77) $(PROGRAM)

If you are on one of the other supported platforms eg DEC, HPUX, SUN then
edit ./src/Makefile to change the line
PLATFORM= F2C
to the appropriate value: DEC, HPUX or SUN
Then call make as before.
