File: GMPLIB.KLUDGE

package info (click to toggle)
nessus-libraries 1.0.10-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,536 kB
  • ctags: 12,585
  • sloc: ansic: 72,626; asm: 25,921; sh: 19,570; makefile: 1,974; cpp: 560; pascal: 536; yacc: 234; lex: 203; lisp: 186; perl: 76; fortran: 24
file content (39 lines) | stat: -rw-r--r-- 1,768 bytes parent folder | download
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
          Copyright (c) mjh-EDV Beratung, 1996-1999
     mjh-EDV Beratung - 63263 Neu-Isenburg - Rosenstrasse 12
          Tel +49 6102 328279 - Fax +49 6102 328278
                Email info@mjh.teddy-net.com

    Author: Jordan Hrycaj <jordan@mjh.teddy-net.com>

   $Id: GMPLIB.KLUDGE,v 1.4 2000/06/12 18:07:22 jordan Exp $

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   -----------------------------------------------------------------

As it was convenient to have just one package, I put each of the gmp and
the zlib into a subdirectory of the peks source tree.  I also needed an
easy way to control the malloc/free memory manager used by those packages
when they handle secret data (cipher keys and the like.)

So, the zlib should make no problem as it is just C code the same way as
the cipher lib is.

The real problem comes with gmp, which has been successfully tuned by 
pieces of assembler code.  This pieces of assembler code do not always
go with a shared library. So it can be spilt off the peks library to
provide for a static build.

Use ./configure the option --enable-splitgmp to built the gmp library
as an extra lib, called libpeksmp.a (this name was used to indicate that
this library is only a piece split off from the full gmp library.)

jordan <jordan@mjh.teddy-net.com>