gcj Compiling Saxon-B to native machine code?
Added by Anonymous over 17 years ago
Legacy ID: #4283610 Legacy Poster: oneil (ond1)
Hi, Is there available a version of Saxon-B for C++, without using .NET? If not has any-one tried to use gcj to Compile Saxon-B to native machine code and got it to work? I have being trying for sometime to use gcj-4.1 to compile Saxon8.jar to native machine code, but it has not been successful. The errors I get are: >gcj saxon8.jar --main=javaTest -o javaTest javaTest.o net/sf/saxon/pull/PullToStax.java: In class 'net.sf.saxon.pull.PullToStax': net/sf/saxon/pull/PullToStax.java: In method 'net.sf.saxon.pull.PullToStax.getNamespaceContext()': net/sf/saxon/pull/PullToStax.java:438: error: cannot find file for class net.sf.saxon.xpath.NamespaceContextImpl net/sf/saxon/pull/PullToStax.java:438: confused by earlier errors, bailing out Is there a way around it? regards, O'Neil
Replies (1)
RE: gcj Compiling Saxon-B to native machine c - Added by Anonymous over 17 years ago
Legacy ID: #4283736 Legacy Poster: Michael Kay (mhkay)
>Is there available a version of Saxon-B for C++, without using .NET? No. >If not has any-one tried to use gcj to Compile Saxon-B to native machine code and got it to work? I certainly haven't. >cannot find file for class net.sf.saxon.xpath.NamespaceContextImpl That class is in saxon8-xpath.jar You might find that it's easier to get the code to compile if you remove some of the classes that have dependencies, for example anything that depends on StAX or even on JAXP 1.3. Michael Kay http://www.saxonica.com/
Please register to reply