public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
To: java@gcc.gnu.org
Subject: compiling to native: simple q
Date: Wed, 10 Apr 2002 20:17:00 -0000	[thread overview]
Message-ID: <87zo0adzmh.fsf@pooh-sticks-bridge.tapsellferrier.co.uk> (raw)

Here's a simple question that is probably just the result of me
debuging dodgy apache code all night...

The paperclips source code now compiles with GCJ (yea!) but I'm now
trying to get the class files to compile to something native.

I'm doing this:


   gcj --main=gnupaperclips -o gnupc classfiles ...


where classfiles is the result of:

   find classes -name "*.class" -print


I'm getting a whole bunch of errors that are to do with the
dependancies of the class files.

I have the CLASSPATH variable set to the jar files that are the
dependancies for the paperclips classes, do I need to include them as
compilation targets? (when I do that gcj segfaults).

Should I be unpacking the jar files as classes and having gcj compile
the whole thing?

Should I be converting all the jar files into native libs and solving
the depends that way?


In short, I'm a bit unsure of what I should be doing with dependant
jar files.

Could someone please explain?



Nic

             reply	other threads:[~2002-04-11  2:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 20:17 Nic Ferrier [this message]
2002-04-11  7:44 ` Bryce McKinlay

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=87zo0adzmh.fsf@pooh-sticks-bridge.tapsellferrier.co.uk \
    --to=nferrier@tapsellferrier.co.uk \
    --cc=java@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).