Changeset c68977ca for core/c/README


Ignore:
Timestamp:
Feb 27, 2008 3:18:32 PM (13 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9b86da7c
Parents:
bc7bd62
Message:
  • 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/README

    rbc7bd62 rc68977ca  
    11Prior to building the jbigi library, you will need to fetch the GMP source
    2 from http://www.swox.com/gmp/, saving it to jbigi/gmp-4.1.4.tar.bz2 (it will
     2from http://www.swox.com/gmp/, saving it to jbigi/gmp-4.2.2.tar.bz2 (it will
    33be 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.
    48
    59To build the native jbigi and jcpuid libraries for the current host CPU,
    610simply 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.
    715
    816To build the native jbigi libraries for all supported CPUs (on the current OS),
    917go 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 TracChangeset for help on using the changeset viewer.