File: READ.ME

package info (click to toggle)
numerix 0.22-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,380 kB
  • ctags: 4,165
  • sloc: asm: 26,210; ansic: 12,168; ml: 4,912; sh: 3,899; pascal: 414; makefile: 179
file content (71 lines) | stat: -rw-r--r-- 1,963 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Numerix: Big integer library for Caml-Ocaml
-------------------------------------------

                                                     M. Quercia, June 15, 2006

1. Compilation
--------------

First run the [configure] script:

with the bash shell

  ./configure 2>&1 | tee conflog

with the csh shell

  ./configure |& tee conflog

This script checks which parts of Numerix can be compiled on your computer and
creates  a  [Makefile] file  and  a  [kernel/config.h]  file suited  for  your
configuration.    See  the   user   manual  for   the   options  accepted   by
[configure]. Then do :

with the bash shell

  make lib 2>&1 | tee liblog
  make examples 2>&1 | tee exlog

with the csh shell

  make lib |& tee liblog
  make examples |& tee exlog

This  compiles the  libraries and  the examples  for C,  Camllight,  Ocaml and
Pascal or only some of them depending on the choosen options.  There should be
neither warning  nor error, if there are  some then check the  settings in the
[Makefile] file and  let me know.  If you modify the  [Makefile] file then you
need to recreate suitable [kernel/*/makefile] files. Just do:

  make makefiles

To check that the examples work do:

  make test 2>&1 | tee testlog

or
  make test |& tee testlog

If everything works then you can install the libraries with:

  make install

This copies in $(INSTALL_LIB)  the libraries, in $(INSTALL_INCLUDE) the header
files  and  in  $(INSTALL_BIN) the  binaries.   If  you  change the  value  of
$(INSTALL_LIB) then you have to recompile the toplevels ocamlnumx and camlnumx
before installation  as the  value of $(INSTALL_DIR)  is hardcoded  into those
programs. Just do:

  rm kernel/ocaml/o/ocamlnumx
  make kernel/ocaml/o/ocamlnumx

and the analogue for camlnumx.

2. Use
------

A complete documentation in English is available in the doc/english
subdirectory, file numerix.pdf.


                                         M. Quercia (michel.quercia@prepas.org)