Project

Profile

Help

Revision 93ecddcd

Added by O'Neil Delpratt over 5 years ago

Saxon/C update

View differences:

latest9.6/hec/samples/cppTests/buildeec.sh
1
#!/bin/sh
2

  
3
#Build file for Saxon/C on C++
4

  
5
#jdkdir=/usr/lib/jvm/java-7-oracle/include
6

  
7
# $jdkdir/bin/javac MyClassInDll.java
8

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

  
15
mkdir -p bin
16

  
17
gcc -m32  -c ../../Saxon.C.API/SaxonCGlue.c -o bin/SaxonCGlue.o -ldl -lc -lsaxoneec $1 $2
18

  
19
gcc -m32  -c ../../Saxon.C.API/SaxonCXPath.c -o bin/SaxonCXPath.o -ldl -lc -lsaxoneec $1 $2
20

  
21
g++ -m32  -c ../../Saxon.C.API/XdmValue.cpp -o bin/XdmValue.o -ldl -lc -lsaxoneec $1 $2
22

  
23
g++ -m32  -c ../../Saxon.C.API/XdmItem.cpp -o bin/XdmItem.o -ldl -lc -lsaxoneec $1 $2
24

  
25
g++ -m32  -c ../../Saxon.C.API/XdmNode.cpp -o bin/XdmNode.o -ldl -lc -lsaxoneec $1 $2
26

  
27
g++ -m32  -c ../../Saxon.C.API/XdmAtomicValue.cpp -o bin/XdmAtomicValue.o -ldl -lc -lsaxoneec $1 $2
28

  
29
g++ -m32  -c ../../Saxon.C.API/SaxonProcessor.cpp -o bin/SaxonProcessor.o -ldl -lc -lsaxoneec $1 $2
30

  
31
g++ -m32  -c ../../Saxon.C.API/XsltProcessor.cpp -o bin/XsltProcessor.o -ldl -lc -lsaxoneec $1 $2
32

  
33
g++ -m32 -c ../../Saxon.C.API/XQueryProcessor.cpp -o bin/XQueryProcessor.o -ldl -lc -lsaxoneec $1 $2
34

  
35
g++ -m32 -c ../../Saxon.C.API/XPathProcessor.cpp -o bin/XPathProcessor.o -ldl -lc -lsaxoneec $1 $2
36

  
37
g++ -m32 -c ../../Saxon.C.API/SchemaValidator.cpp -o bin/SchemaValidator.o -ldl -lc -lsaxoneec $1 $2
38

  
39
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXSLT.cpp -o testXSLT -ldl -lc -lsaxoneec $1 $2
40

  
41
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXQuery.cpp -o testXQuery -ldl -lc -lsaxoneec $1 $2
42

  
43

  
44
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXPath.cpp -o testXPath -ldl -lc -lsaxoneec $1 $2
45

  
46
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testValidator.cpp -o testValidator -ldl -lc -lsaxoneec $1 $2
47

  
latest9.6/hec/samples/cppTests/buildhec.sh
1
#!/bin/sh
2

  
3
#Build file for Saxon/C on C++
4

  
5
#jdkdir=/usr/lib/jvm/java-7-oracle/include
6

  
7
# $jdkdir/bin/javac MyClassInDll.java
8

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

  
15
mkdir -p bin
16

  
17
gcc -m32  -c ../../Saxon.C.API/SaxonCGlue.c -o bin/SaxonCGlue.o -ldl -lc -lsaxonhec $1 $2
18

  
19
gcc -m32  -c ../../Saxon.C.API/SaxonCXPath.c -o bin/SaxonCXPath.o -ldl -lc -lsaxonhec $1 $2
20

  
21
g++ -m32  -c ../../Saxon.C.API/XdmValue.cpp -o bin/XdmValue.o -ldl -lc -lsaxonhec $1 $2
22

  
23
g++ -m32  -c ../../Saxon.C.API/XdmItem.cpp -o bin/XdmItem.o -ldl -lc -lsaxonhec $1 $2
24

  
25
g++ -m32  -c ../../Saxon.C.API/XdmNode.cpp -o bin/XdmNode.o -ldl -lc -lsaxonhec $1 $2
26

  
27
g++ -m32  -c ../../Saxon.C.API/XdmAtomicValue.cpp -o bin/XdmAtomicValue.o -ldl -lc -lsaxonhec $1 $2
28

  
29
g++ -m32  -c ../../Saxon.C.API/SaxonProcessor.cpp -o bin/SaxonProcessor.o -ldl -lc -lsaxonhec $1 $2
30

  
31
g++ -m32  -c ../../Saxon.C.API/XsltProcessor.cpp -o bin/XsltProcessor.o -ldl -lc -lsaxonhec $1 $2
32

  
33
g++ -m32 -c ../../Saxon.C.API/XQueryProcessor.cpp -o bin/XQueryProcessor.o -ldl -lc -lsaxonhec $1 $2
34

  
35
g++ -m32 -c ../../Saxon.C.API/XPathProcessor.cpp -o bin/XPathProcessor.o -ldl -lc -lsaxonhec $1 $2
36

  
37
g++ -m32 -c ../../Saxon.C.API/SchemaValidator.cpp -o bin/SchemaValidator.o -ldl -lc -lsaxonhec $1 $2
38

  
39
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXSLT.cpp -o testXSLT -ldl -lc -lsaxonhec $1 $2
40

  
41
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXQuery.cpp -o testXQuery -ldl -lc -lsaxonhec $1 $2
42

  
43

  
44
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testXPath.cpp -o testXPath -ldl -lc -lsaxonhec $1 $2
45

  
46
g++ -m32  bin/SaxonCGlue.o bin/SaxonCXPath.o bin/SaxonProcessor.o bin/XQueryProcessor.o bin/XsltProcessor.o bin/XPathProcessor.o bin/XdmValue.o bin/XdmItem.o bin/XdmNode.o bin/XdmAtomicValue.o bin/SchemaValidator.o testValidator.cpp -o testValidator -ldl -lc -lsaxonhec $1 $2
47

  

Also available in: Unified diff