Changeset d85dc82 for core/c


Ignore:
Timestamp:
Jan 22, 2005 1:53:02 AM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
1402316
Parents:
f6a3405
git-author:
jrandom <jrandom> (01/22/05 01:53:02)
git-committer:
zzz <zzz@…> (01/22/05 01:53:02)
Message:

2005-01-21 Jhor

  • Updated jbigi build scripts for OSX.

2005-01-21 jrandom

  • Added support for OSX to the NativeBigInteger? code so that it will look in the classpath for libjbigi-osx-none.jnilib. At the moment, that file is not bundled with the shipped jbigi.jar yet though.
Location:
core/c/jbigi
Files:
2 edited

Legend:

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

    rf6a3405 rd85dc82  
    99mkdir -p bin/local
    1010cd bin/local
    11 ../../gmp-4.1.4/configure
     11case `uname -sr` in
     12Darwin*)
     13# --with-pic is required for static linking
     14../../gmp-4.1.4/configure --with-pic;;
     15*)
     16../../gmp-4.1.4/configure;;
     17esac
    1218make
    1319sh ../../build_jbigi.sh static
  • core/c/jbigi/build_jbigi.sh

    rf6a3405 rd85dc82  
    1818        LINKFLAGS="-shared -Wl,--kill-at"
    1919        LIBFILE="jbigi.dll";;
     20Darwin*)
     21        JAVA_HOME="/Library/Java/Home"
     22        COMPILEFLAGS="-Wall"
     23        INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include"
     24        LINKFLAGS="-dynamiclib -framework JavaVM"
     25        LIBFILE="libjbigi.jnilib";;
    2026*)
    2127        COMPILEFLAGS="-fPIC -Wall"
Note: See TracChangeset for help on using the changeset viewer.