forked from I2P_Developers/i2p.i2p
- 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
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
***net.i2p.util.NativeBigInteger, native part of the code****
|
|
|
|
See ../README for instructions.
|
|
|
|
Execute the build.sh script to produce jbigi library files optimized for a number of different CPU-types.
|
|
|
|
TODO: What is jbigi
|
|
TODO: Document generated folder structure
|
|
|
|
|
|
Linux-specific information:
|
|
===========================
|
|
Some linux distributions comes bundled with GMP.
|
|
Try 'locate lib/libgmp.so' to see.
|
|
If so, install the the libgmp3-dev debian package to get the libgmp headers.
|
|
Then export I2P=/path/to/your/i2p/install.
|
|
Then do 'build.sh dynamic'. This will do a quick build using your installed libgmp library
|
|
and then test it and the jbigi in your I2P installation to see which is faster.
|
|
|
|
If the new jbigi is slower, then run 'build.sh' (without the 'dynamic'), which will download
|
|
the libgmp library, build, and test that.
|
|
|
|
|
|
Windows-specific information:
|
|
=============================
|
|
The best way of building the jbigi dll's is to install Mingw {URL} and msys {URL}.
|
|
The combination of these two should be able to run the included build-scripts without modifications.
|