From: Tom Tromey <tromey@cygnus.com>
To: Oscar Martinez de la Torre <omt@wm.estec.esa.nl>
Cc: Java GCJ Mail List <java-discuss@sourceware.cygnus.com>,
RTEMS-LIST <rtems-users@oarcorp.com>,
Jiri Gaisler <jgais@ws.estec.esa.nl>,
Stig Mejnertsen <smejnert@estec.esa.nl>
Subject: Re: Testing GCJ in Linux RedHat!
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <200002241822.KAA26691@ferrule.cygnus.com> (raw)
In-Reply-To: <38B56728.F7F4F78C@wm.estec.esa.nl>
>>>>> "Oscar" == Oscar Martinez de la Torre <omt@wm.estec.esa.nl> writes:
Oscar> I'm trying to run JAVA in ERC32 (a space microprocessor like "sparc")
Oscar> I'm trying Kaffe + RTEMS (A RTOS which works on ERC32)
Oscar> But as I'm finding lots of problems in it (any suggestions is welcome)
Oscar> I'm also trying GCJ approach!
As far as I know libgcj has not been ported to RTEMS.
Oscar> /opt/rtems/bin/sparc-rtems-gcj HelloWorldApp.java
From the messages it looks like you don't have libgcj (of course), and
so you can't link. libgcj is required to link a gcj-compiled program.
Oscar> Also, it seems that libgcj is no so easy to port and crosscompile!
I cross compile it routinely.
I've ported it, too. It isn't trivial, but it is possible.
There is some help available on the web page. Did you look there?
I doubt I'll be doing an RTEMS port unless somebody hires us to do
one. We rely on volunteer effort for things like this.
Oscar> gcj HelloWorldApp.java
Oscar> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
Oscar> /usr/lib/gcc-lib/i386-linux/2.95.2/libgcj.so: undefined reference to
Oscar> `__rethrow'
Oscar> /usr/lib/gcc-lib/i386-linux/2.95.2/libgcj.so: undefined reference to
Oscar> `__start_cp_handler'
Try gcj --main=HelloWorldApp HelloWorldApp.java
This is documented on our web pages:
http://sourceware.cygnus.com/java/
Tom
next prev parent reply other threads:[~2000-04-01 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-01 0:00 Oscar Martinez de la Torre
2000-04-01 0:00 ` Tom Tromey [this message]
[not found] ` <38B5D6A5.F5B09896@connecttel.com>
2000-04-01 0:00 ` Joel Sherrill
2000-04-01 0:00 ` Tom Tromey
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=200002241822.KAA26691@ferrule.cygnus.com \
--to=tromey@cygnus.com \
--cc=java-discuss@sourceware.cygnus.com \
--cc=jgais@ws.estec.esa.nl \
--cc=omt@wm.estec.esa.nl \
--cc=rtems-users@oarcorp.com \
--cc=smejnert@estec.esa.nl \
/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).