source: core/c/README @ c68977ca

Last change on this file since c68977ca was c68977ca, checked in by zzz <zzz@…>, 13 years ago
  • i2ptunnel: Add 3-hop option to edit.jsp to match configtunnels.jsp
  • i2psnark: Remove orion and gaytorrents from default tracker list
  • Remove orion from jump list and from eepsite_index.html
  • Jbigi: Change jbigi version to 4.2.2 in build scripts - tested by amiga
  • Capitalize OutboundMessageDistributor? job name
  • TunnelPool?: Add a warning if all tunnels are backlogged
  • Property mode set to 100644
File size: 1.2 KB
Line 
1Prior to building the jbigi library, you will need to fetch the GMP source
2from http://www.swox.com/gmp/, saving it to jbigi/gmp-4.2.2.tar.bz2 (it will
3be unpacked and built as necessary).
4
5Version 4.2.2 has not been extensively tested with I2P. If you would like
6to use a well-tested version, get gmp-4.1.4.tar.bz2, and edit jbigi/build.sh
7to change the version number.
8
9To build the native jbigi and jcpuid libraries for the current host CPU,
10simply run sh build.sh and the results will be packaged up into jbigi.jar
11and the libjbigi.so library. To test, copy jbigi/lib/libjbigi.so
12and jcpuid/lib/freenet/support/CPUInformation/libjcpuid-*.so
13to your i2p/ directory. You can also copy jbigi.jar to the i2p/lib/ directory;
14it will be used only if the router fails to load the native library.
15
16To build the native jbigi libraries for all supported CPUs (on the current OS),
17go into jbigi/ and run build-all.sh (the results will be under jbigi/lib/)
18
19After copying the files to the i2p/ directory,
20to run a speed test comparing the native library to the java library,
21run the shell script below.
22
23-----------------
24
25#!/bin/sh
26export I2P=~/i2p
27java -cp $I2P/lib/i2p.jar:$I2P/lib/jbigi.jar net.i2p.util.NativeBigInteger
Note: See TracBrowser for help on using the repository browser.