Project

Profile

Help

Revision 9a72b99b

Added by O'Neil Delpratt over 5 years ago

Added sample build files to Saxon/C

View differences:

.gitattributes
530 530
latest9.6/hec/jar/mysaxonhe.jar svn_mime_002dtype=application%2Foctet-stream
531 531
latest9.6/hec/php-library-module/php5.4/centos/6.7/saxon.so svn_mime_002dtype=application%2Foctet-stream
532 532
latest9.6/hec/php-library-module/php5.4/saxon.so svn_mime_002dtype=application%2Foctet-stream
533
latest9.6/hec/samples/cTests/build-linux.sh svn_eol_002dstyle=native
534
latest9.6/hec/samples/cTests/build64-mac.sh svn_eol_002dstyle=native
533 535
latest9.6/hec/samples/cTests/testXPath svn_mime_002dtype=application%2Fx-executable
534 536
latest9.6/hec/samples/cTests/testXQuery svn_mime_002dtype=application%2Fx-executable
535 537
latest9.6/hec/samples/cTests/testXSLT svn_mime_002dtype=application%2Fx-executable
latest9.6/hec/samples/cTests/build-linux.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  ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -lc $1
11

  
12
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux  ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -lc $1
13

  
14
gcc -m32 -I$jdkdir/include -I$jdkdir/include/linux  ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -lc $1
15

  
latest9.6/hec/samples/cTests/build64-mac.sh
1
#!/bin/sh
2

  
3
jdkdir=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home
4

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

  
7
#jc =p MyDll.prj
8
#rm -rf MyDll_jetpdb
9

  
10
gcc -m64 -fPIC -I$jdkdir/include  -I$jdkdir/include/darwin ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c  testXSLT.c -o testXSLT -ldl -L.  $1
11

  
12
gcc -m64 -fPIC -I$jdkdir/include  -I$jdkdir/include/darwin ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c  testXQuery.c -o testXQuery -ldl -L. $1
13
	
14
gcc -m64 -fPIC -I$jdkdir/include -I$jdkdir/include/darwin ../../Saxon.C.API/SaxonCGlue.c ../../Saxon.C.API/SaxonCProcessor.c ../../Saxon.C.API/SaxonCXPath.c testXPath.c -o testXPath -ldl -L. $1
15

  

Also available in: Unified diff