Changeset 0c98d18 for core/c


Ignore:
Timestamp:
Mar 30, 2009 5:31:40 AM (11 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
7b373743
Parents:
4a9543b
Message:

Sponge fixes and additions patch:

  • 3 New jbigi build scripts and old ones fixed to work properly.
  • Some trivial BOB work.
Location:
core/c
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/build-all.sh

    r4a9543b r0c98d18  
    1313esac
    1414
    15 VER=4.2.2
     15VER=4.2.4
    1616echo "Extracting GMP Version $VER ..."
    1717tar -xjf gmp-$VER.tar.bz2
     
    2222mkdir lib/net/i2p
    2323mkdir lib/net/i2p/util
    24 for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon
     24
     25for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon geode pentiumm core2
    2526do
    2627        mkdir bin/$x
  • core/c/jbigi/build.sh

    r4a9543b r0c98d18  
    1616mkdir -p lib/
    1717mkdir -p bin/local
    18 VER=4.2.2
     18VER=4.2.4
    1919
    2020if [ "$1" != "dynamic" -a ! -d gmp-$VER ]
  • core/c/jbigi/build_jbigi.sh

    r4a9543b r0c98d18  
    11#!/bin/sh
    22# When executed in Mingw: Produces an jbigi.dll
    3 # When executed in Linux: Produces an libjbigi.so
     3# When executed in Linux/FreeBSD: Produces an libjbigi.so
     4# Darwin produces libjbigi.jnilib, right?
    45
    56CC="gcc"
     
    3334#To link dynamically to GMP (use libgmp.so or gmp.lib), uncomment the first line below
    3435#To link statically to GMP, uncomment the second line below
    35 if test $1 = "dynamic"
     36# Bug!!! Quote *BOTH* or neither! --Sponge
     37if test "$1" = "dynamic"
    3638then
    3739        echo "Building jbigi lib that is dynamically linked to GMP"
Note: See TracChangeset for help on using the changeset viewer.