source: installer/lib/jbigi/README.txt @ d28f4bd2

Last change on this file since d28f4bd2 was d28f4bd2, checked in by zzz <zzz@…>, 9 years ago
  • JBigI:
    • Replace old non-PIC 62-bit linux libs (GMP 4.1.4 built in 2005) with PIC libs built with GMP 5.0.2. License is LGPLv3. Built by sponge with GCC 4.4.4, downloaded from http://sponge.i2p/files/jbigi/gmp-5.0.2/ For 64-bit processors, both performance testing and the GMP changelog led us to use 5.0.2 for both the 32- and 64-bit versions, even though the files are twice as big. See http://zzz.i2p/topics/306 for discussion and test results. libjbigi-linux-athlon64.so was a 64 bit file; by the new naming standard supported by NativeBigInteger?, it is now a 32-bit file and the 64-bit one is libjbigi-linux-athlon64_64.so. All new 64-bit libs will have _64 appended.
    • Update build docs
  • Property mode set to 100644
File size: 2.9 KB
Line 
1NOTE: This file may not be maintained.
2See history.txt, checkin comments, javadoc, and code in
3NativeBigInteger.java and CPUID.java for additional information.
4See NativeBigInteger.java for naming rules and algorithms for
5generating an ordered list of names to load.
6
7================================
8
9jbigi.jar was built by jrandom on Aug 21, 2004 with the jbigi and jcpuid
10native libraries compiled on linux, winXP (w/ MinGW), and freebsd (4.8). 
11The GMP code in jbigi is from GMP-4.1.3 (http://www.swox.com/gmp/), and
12was optimized for a variety of CPU architectures.
13
14On Sep 16, 2005, libjbigi-osx-none.jnilib was added to jbigi.jar after
15being compiled by jrandom on osx/ppc with GMP-4.1.4.
16
17On Sep 18, 2005, libjbigi-linux-athlon64.so was added to jbigi.jar after
18being compiled by jrandom on linux/p4 (cross compiled to --host=x86_64)
19with GMP-4.1.4.
20
21On Nov 29, 2005, the libjbigi-osx-none.jnilib was added back to
22jbigi.jar after being mistakenly removed in the Sep 18 update (d'oh!)
23
24On Dec 30, 2005, the libjcpuid-x86-linux.so was updated to use the
25(year old) C version of jcpuid, rather than the C++ version.  This removes
26the libg++.so.5 dependency that has been a problem for a few linux distros.
27
28On Feb 8, 2006, the libjbigi-linux-viac3.so was added to jbigi.jar after
29being compiled by jrandom on linux/p4 (cross compiled to --host=viac3)
30
31On Feb 27, 2006, jbigi-win-athlon.dll was copied to jbigi-win-athlon64.dll,
32as it should offer amd64 users better performance than jbigi-win-none.dll
33until we get a full amd64 build.
34
35================================
36
37Updates May/June 2011:
38  jcpuid:
39   - jcpuid.c updated to be compatible with -fPIC
40   - 32 bit libjcpuid-linux-x86.so updated, compiled with -fPIC.
41   - 64 bit libjcpuid-linux-x86_64.so added, compiled with -fPIC.
42   - See also javadoc and code in CPUID.java
43  jbigi:
44   - k62 and k63 are identical for all except windows; exception added to
45     NativeBigInteger to use k62 for k63. k63 files deleted.
46   - All 32 bit linux files updated with GMP 4.3.2, compiled with -fPIC,
47     except for athlon64 and pentium4, which use GMP 5.0.2.
48   - All 64 bit linux files updated with GMP 5.0.2.
49   - libjbigi-windows-athlon64.dll deleted, it was a duplicate of
50     libjbigi-windows-athlon.dll. NativeBigInteger now uses athlon as
51     a fallback for all 64-bit processors.
52   - Note that all new 64 bit files will use the _64 suffix. For example,
53     the old libjbigi-linux-athlon64.so file was 64 bit; now it is 32 bit
54     and the 64 bit file is libjbigi-linux-athlon64_64.so.
55   - The 4.3.2 files are half the size of the 5.0.2 files, and there was
56     little or no performance difference for 32 bit, so we are using
57     4.3.2 for 32 bit. For 64-bit processors, both performance testing and
58     the GMP changelog led us to use 5.0.2 for both the 32- and 64-bit versions.
59   - See also checkin comments, javadoc and code in NativeBigInteger.java
Note: See TracBrowser for help on using the repository browser.