2004-08-21 07:56:53 +00:00
|
|
|
***net.i2p.util.NativeBigInteger, native part of the code****
|
|
|
|
|
2008-05-12 13:47:15 +00:00
|
|
|
See ../README for instructions.
|
|
|
|
|
2004-08-21 07:56:53 +00:00
|
|
|
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
|
2011-06-05 13:52:43 +00:00
|
|
|
|
2004-08-21 07:56:53 +00:00
|
|
|
|
|
|
|
Linux-specific information:
|
2011-01-18 14:05:26 +00:00
|
|
|
===========================
|
2012-01-08 23:23:00 +00:00
|
|
|
Some linux distributions come bundled with GMP.
|
2011-01-18 14:05:26 +00:00
|
|
|
Try 'locate lib/libgmp.so' to see.
|
2012-01-08 23:23:00 +00:00
|
|
|
|
|
|
|
In Debian/Ubuntu, install the the libgmp3-dev package to get the libgmp headers.
|
2011-01-18 14:05:26 +00:00
|
|
|
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
|
2011-06-05 13:52:43 +00:00
|
|
|
the libgmp library, build, and test that.
|
2011-01-18 14:05:26 +00:00
|
|
|
|
2004-08-21 07:56:53 +00:00
|
|
|
|
|
|
|
Windows-specific information:
|
2011-01-18 14:05:26 +00:00
|
|
|
=============================
|
2008-05-12 13:47:15 +00:00
|
|
|
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.
|