Files
i2p.i2p/core/c/jbigi
zzz 2989d955d9 JBigI: GMP 6.2.0 for linux 64 bit (ticket #1869)
Add support for zen and zen2
Enable more fallbacks for zen and zen2
Adds Zen and Zen2 binaries, stripped
Built with gcc 9.3.0
Other binaries will be added if testing shows improvement
Fix hangs in mbuild-all.sh build script
Add silvermont and goldmont to build script, untested, support TBD
GMP is GPLv2
More info: http://zzz.i2p/topics/2955
2020-09-26 12:58:55 +00:00
..
2012-01-08 23:23:00 +00:00

***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 come bundled with GMP.
Try 'locate lib/libgmp.so' to see.

In Debian/Ubuntu, install the the libgmp3-dev 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.