This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]