Next Previous Meta-Table of Contents

Installation

  1. Execute the command tar zxvf lintev02.tgz.
  2. Execute the command cd lintev02/.
  3. If you are compiling for an i386 (not higher) remove the line
    #assert LC_CPU (i486) 
    
    from lmisc/config.h. Also change the line
    CPUOPT=-m486
    
    in ./cpuopt.mk to
    CPUOPT=
    
  4. If you are compiling for Linux skip to step 3). If you are compiling for Windows NT change the line
    #assert LC_OS (linux) 
    
    in lmisc/config.h to
    #assert LC_OS (winnt)
    
    and go to step 3).

    So you are compiling for an OS other than Linux or Windows NT? If you are attempting a compilation for Windows '95 the change described for Windows NT is, probably, all that is necessary and you can continue on to step 3). If this fails, or you are compiling for OS/2 or another 386+/gcc system, you will have to have a look at the top of chnhash/sha1.S to try to decide what to do. One way to help decide is to compile a test file which only calls LC_SHA1_Scramble and have a look at the output produced by g++ -S -c to see what name this function should be called inside the assembly code. Please let me know by e-mail how any compilation attempt on an OS other than Linux or Windows NT goes.

  5. Enter make install-local to create a local installation under the include/ and lib/ directories in the base directory.
  6. Try out the test files in tests/, if you wish.
  7. If you wish to copy the locally installed files, modify the lines
    HEADERTARGET=~len/include
    LIBTARGET=~len/lib
    
    in the makefile in the base directory to the appropriate directories for your system and execute make install.
  8. Send me e-mail if you find any bugs, or have any comments, or suggestions.

Next Previous Meta-Table of Contents