Project

Profile

Help

How to connect?
Download (669 Bytes) Statistics
| Branch: | Revision:

he / src / main / c / samples / cTests / build-linux.sh @ f299305b

1
#!/bin/sh
2

    
3
#jdkdir=/usr/lib/jvm/java-7-oracle/include
4

    
5
# $jdkdir/bin/javac MyClassInDll.java
6

    
7
#jc =p MyDll.prj
8
#rm -rf MyDll_jetpdb
9
export JET_HOME=/usr/lib/rt
10
export PATH=$JET_HOME/bin:$PATH
11
export LD_LIBRARY_PATH=$JET_HOME/lib/x86/shared:$LD_LIBRARY_PATH
12

    
13

    
14
gcc -m32 ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc $1
15

    
16
gcc -m32  ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc $1
17

    
18
gcc -m32  ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc $1
19

    
(1-1/14)