public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "HK Tan" <kopikosong@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: GCJ on POI
Date: Tue, 05 Aug 2008 06:40:00 -0000	[thread overview]
Message-ID: <221fd3870808042339l7b11452ftd6d868cf8bcaf3d8@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-08-05  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  6:40 HK Tan [this message]
2008-08-05  9:32 ` Andrew Haley
2008-08-06  2:00   ` HK Tan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=221fd3870808042339l7b11452ftd6d868cf8bcaf3d8@mail.gmail.com \
    --to=kopikosong@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).