1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
To build this NEC distribution, first edit the Makefile for
the desired installation directory. You'll need a fortran
compiler, which make recognises (alternatively add a suitable
line to the makefile). On systems without a compiler, f2c
is available from netlib.bell-labs.com, and is reasonably
portable. I've compiled the whole package under Linux using
f2c without problems.
As the code is fortran and hasn't been made very unix friendly
(plans are afoot for a future release), nothing should be very
system dependent unless you need to change the Makefile.
% make
should build the system. Note that the code was originally in
FORTRAN-IV so strings were stored in INTEGER type variables,
and so there are a few complaints made by most compilers. I
have endeavoured to remove as many of these as possible, so
the current code needs a FORTRAN-77 COMPILER. It won't compile
under FORTRAN-IV any longer.
% make install
should install the binaries. There are very short man pages
nec/nec2.1 and somnec/somnec.1 which should also be installed
if that is required, similarly the HTML documentation in doc/
can be copied to a suitable location.
Please report all bugs to alanb@chiark.greenend.org.uk, I'd
also be pleased to hear if you find this useful or have
suggestions for improvements.
Alan
|