Project

Profile

Help

Revision eceaa7ef

Added by O'Neil Delpratt almost 6 years ago

Added cTest build files for Saxon/C

View differences:

latest9.6/hec/samples/cTests/build64bit/buildeec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxoneec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxoneec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxoneec $1
15

  
latest9.6/hec/samples/cTests/build64bit/buildhec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxonpec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxonpec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxonpec $1
15

  
latest9.6/hec/samples/cTests/build64bit/buildpec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxoneec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxoneec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxoneec $1
15

  
latest9.6/hec/samples/cTests/buildeec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxoneec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxoneec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxoneec $1
15

  
latest9.6/hec/samples/cTests/buildhec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxonpec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxonpec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxonpec $1
15

  
latest9.6/hec/samples/cTests/buildpec.sh
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

  
10
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc -lsaxoneec $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc -lsaxoneec $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux -I /System/Library/Frameworks/JavaVM.framework/Headers ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc -lsaxoneec $1
15

  

Also available in: Unified diff