This is all hardly tested at all, but as of my last few commits to
Subversion the GCJ backed code now has basic indexing and searching
working. Check out test/main.c [1] for an example of how to use the new
API.
For the curious, it turns out that a lot of my problems were being
caused by compiling Java code with a 1.5.0 JDK, which GCJ appears to nto
like. I ran into a few other problems with GCJ itself, both of which I
was able to solve by writing small amounts of Java code to make the
calls I was unable to convince GCC to let me do from C++.
Next on the todo list is trying to get the CLI and unit tests running
again, and making the build system a bit more sane.
-garrett
[1]
http://svn.apache.org/repos/asf/incubator/lucene4c/branches/gcj-backend/test/main.c
Subversion the GCJ backed code now has basic indexing and searching
working. Check out test/main.c [1] for an example of how to use the new
API.
For the curious, it turns out that a lot of my problems were being
caused by compiling Java code with a 1.5.0 JDK, which GCJ appears to nto
like. I ran into a few other problems with GCJ itself, both of which I
was able to solve by writing small amounts of Java code to make the
calls I was unable to convince GCC to let me do from C++.
Next on the todo list is trying to get the CLI and unit tests running
again, and making the build system a bit more sane.
-garrett
[1]
http://svn.apache.org/repos/asf/incubator/lucene4c/branches/gcj-backend/test/main.c