This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCJ on POI
- From: "HK Tan" <kopikosong at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 5 Aug 2008 14:39:28 +0800
- Subject: GCJ on POI
Hi I have been trying to get gcj to compile for the for poi.
This are the steps that was trying to follow
gcj -shared -classpath ../jakarta-poi/lib/commons-logging-1.1.jar
-Lcommons-logging-1.1.jar.so
../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar -o
poi-3.2-alpha1-20080804.jar.so
gcj --classpath=../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar
-c HW.java
gcj --main=HW -Lpoi-3.2-alpha1-20080804.jar.so HW.o -o HW
But it bombs out on the step by
saying
org/apache/poi/dev/RecordGenerator.java: In class
`org.apache.poi.dev.RecordGenerator':
org/apache/poi/dev/RecordGenerator.java: In method
`org.apache.poi.dev.RecordGenerator.generateRecords(java.ljava.lang.String,java.lang.String,java.lang.String)':
org/apache/poi/dev/RecordGenerator.java:69: error: cannot find file
for class javax.xml.parsers.DocumentBuild
org/apache/poi/dev/RecordGenerator.java:69: error: cannot find file
for class javax.xml.parsers.DocumentBuild
org/apache/poi/dev/RecordGenerator.java:69: error: cannot find file
for class javax.xml.parsers.DocumentBuild
org/apache/poi/dev/RecordGenerator.java:79: error: cannot find file
for class javax.xml.parsers.DocumentBuild
org/apache/poi/dev/RecordGenerator.java:79: confused by earlier
errors, bailing out