Project

Profile

Help

Revision bffd220e

Added by O'Neil Delpratt over 5 years ago

Update to the build script

View differences:

latest9.6/hec/samples/cTests/build-linux.sh
6 6

  
7 7
#jc =p MyDll.prj
8 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
9 12

  
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 13

  
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
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
13 15

  
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
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
15 19

  

Also available in: Unified diff