File: INSTALL

package info (click to toggle)
libwn6 6.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 926; csh: 274; sh: 12
file content (132 lines) | stat: -rwxr-xr-x 4,252 bytes parent folder | download | duplicates (4)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132

                    HOW TO INSTALL WNLIB
                    ====================

LEGAL:

  BY DOWNLOADING OR COMPILING THIS LIBRARY, YOU ACCEPT AND AGREE TO THE TERMS 
  AND CONDITIONS PRINTED BELOW.  IF YOU DO NOT AGREE, DO NOT DOWNLOAD OR 
  COMPILE THIS LIBRARY.

  The author and Spike Technologies provide this C code in the hope
  that it will be helpful, however, we assume no responsibility 
  for the use of this code, nor any responsibility for its support.
  The software is distributed on an "AS IS" basis, without warranty.
  Neither the authors, the software developers, nor Spike Technologies
  make any representation, or warranty, either express or implied, with
  respect to the software programs and subroutines, their quality, accuracy, 
  or fitness for a specific purpose.  Therefore, neither the authors, the 
  software developers, nor Spike Technologies shall have any liability to 
  you or any other person or entity with respect to any liability, loss, 
  or damage caused or alleged to have been caused directly or indirectly by 
  the programs and subroutines contained in this library.  This includes, but 
  is not limited to, interruption of service, loss of data, loss of classroom 
  time, loss of consulting or anticipatory profits, or consequential damages 
  from the use of these programs.  


FEATURES:

  WNLIB is an ANSI C subroutine library that contains numerous tools that
  I have found to be useful in my programming practice.

  The following are included:

    miscellaneous:

      improved memory allocator and memory debugger; parsing package

    data structures and algorithms:

      linked list; balanced binary tree; hash table - with common hash
      functions; dd tree; sorting for lists and arrays;
      high-quality pseudo-random number generator

    numerical:

      various matrix and vector operations, including matrix inverse, 
      least-squares inverse

    linear programming:

      simplex method; transportation problem; shortest path problem;
      critical path problem

    non-linear optimization:

      conjugate directions and conjugate gradient methods for constrained
      and unconstrained problems; simulated annealing


AUTHOR:

  Will Naylor

  Spike Technologies
  500 E. Calaveras Blvd #206
  Milpitas, CA  95035
  Phone:  (408)-945-9359

  Spike Technologies provides algorithm and CAD software consulting
  and contract programming and IC design services.


DOWNLOADING and INSTALLATION:

1) Download wnlib/uuwnlib.z from the site ??? using "ftp" or "rftp".

2) Create a directory called "wnlib" wherever you want this code to
   reside and decode the install tar file.  Type

     $ cd <directory where wnlib is to reside>
     $ mkdir wnlib
     $ cd wnlib
     $ uudecode ../uuwnlib.z
     $ uncompress < tarfile | tar xvf -

3) Make the code.  Type

     $ make all

4) If this fails, it may be necessary to modify variables in acc/makefile
   to fit the platform you are running on.

5) When you believe you have compiled correctly, type

     $ make selftest

   to run the self-testing diagnostics.  If selftest runs successfully
   to completion with no error messages, you have successfully installed
   wnlib.


USE:

1)  Summary:

    ARCHIVE is in:              wnlib/acc/text.a
    H FILES are in:             wnlib/acc/h/*.h
    MAN PAGES are in:           wnlib/doc/man/*.man 

2)  Under wnlib, the directory "acc" contains .h files to include and archive
    files to link to.  The directory acc/h contains links to all of the 
    .h files.  The directory acc contains an archive file called "text.a".  
    Use the -I switch
    of cc to include the .h files.  See the makefile's in acc for examples
    of linking text.a files and including .h files.

3)  man pages are to be found in doc/man.  The script "wnman" in the
    directory "command" is a convenient way to view these man pages.
    Type "wnman <page_name>" to view a man page.
    The command "wnman -k <keyword>" does a keyword search on all
    the man pages.
    
    The variable "wnlib" must point to your wnlib directory for
    wnman to work.  A csh command of the form

      $ set wnlib = xxx/yyy/wnlib

   sets this up.  Include such a command in your .cshrc.