source: core/c/jbigi/README @ d28f4bd2

Last change on this file since d28f4bd2 was d28f4bd2, checked in by zzz <zzz@…>, 10 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: 1.1 KB
Line 
1***net.i2p.util.NativeBigInteger, native part of the code****
2
3See ../README for instructions.
4
5Execute the build.sh script to produce jbigi library files optimized for a number of different CPU-types.
6
7TODO: What is jbigi
8TODO: Document generated folder structure
9
10
11Linux-specific information:
12===========================
13Some linux distributions comes bundled with GMP.
14Try 'locate lib/libgmp.so' to see.
15If so, install the the libgmp3-dev debian package to get the libgmp headers.
16Then export I2P=/path/to/your/i2p/install.
17Then do 'build.sh dynamic'. This will do a quick build using your installed libgmp library
18and then test it and the jbigi in your I2P installation to see which is faster.
19
20If the new jbigi is slower, then run 'build.sh' (without the 'dynamic'), which will download
21the libgmp library, build, and test that.
22
23
24Windows-specific information:
25=============================
26The best way of building the jbigi dll's is to install Mingw {URL} and msys {URL}.
27The combination of these two should be able to run the included build-scripts without modifications.
Note: See TracBrowser for help on using the repository browser.