diff --git a/core/c/build.sh b/core/c/build.sh index 0476a6202886bbc44b3f120c66c3e73539dd483c..cbf6d294df98267a8873840650c1d58da557f1cb 100644 --- a/core/c/build.sh +++ b/core/c/build.sh @@ -14,19 +14,20 @@ STATICLIBS="" LIBFILE="libjbigi.so" # jrandom's mingw setup: +#COMPILEFLAGS="-Wall" #INCLUDES="-Iinclude -Ic:/software/j2sdk1.4.2/include/win32/ -Ic:/software/j2sdk1.4.2/include/ -Ic:/dev/gmp-4.1.2/" #LINKFLAGS="-shared -Wl,--kill-at" #LIBFILE="jbigi.dll" #INCLUDELIBS="" -#STATICLIBS="c:/dev/libgmp.a" +#STATICLIBS="libgmp.a" rm -f jbigi.o $LIBFILE $CC -c $COMPILEFLAGS $INCLUDES src/jbigi.c $CC $LINKFLAGS $INCLUDES $INCLUDELIBS -o $LIBFILE jbigi.o $STATICLIBS echo "built, now testing" -(cd ../java/src/ ; $ANT ) -LD_LIBRARY_PATH=. $JAVA -cp ../java/src/i2p.jar -DloggerConfigLocation=../java/src/logger.config net.i2p.util.NativeBigInteger +(cd ../java/ ; $ANT build) +LD_LIBRARY_PATH=. $JAVA -cp ../java/build/i2p.jar -DloggerConfigLocation=../../installer/java/src/logger.config.template net.i2p.util.NativeBigInteger echo ""