From: Jeff Sturm <jsturm@one-point.com>
To: Clemens Eisserer <linuxhippy@freemail.de>
Cc: java@gcc.gnu.org
Subject: Re: Newbie Questions
Date: Mon, 06 May 2002 10:40:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.10205061319370.5979-100000@mars.deadcafe.org> (raw)
In-Reply-To: <3873941A.3050100@freemail.de>
On Wed, 5 Jan 2000, Clemens Eisserer wrote:
> When I heard first time about gjc and libgjc a was very excited about
> it. But I dont know what I can really do with it.
You mean "gcj" and "libgcj".
> I heard it is nearly compatible with Java-1.1.8 (without Gui-Stuff...),
Right. In fact much of 1.2 and later are there, but AWT is not yet
supported (volunteers to test/implement are needed).
> but can I really make native apps with it, like any C++ app.
gcj compiles to native object code, like gcc/g++. It also produces
bytecode like javac.
> Is there nothing like a runtime, everything nativly? That would be sooo
> cool....
Of course there is a runtime, consisting of the core java.* classes,
garbage collector and so forth. However unlike Sun's VM, the bytecode
interpreter is optional.
> Is it possible to link static with libgjc , so that the user dont need
> to install it.(Of cource there will be choice...)
Yes, with caveats. Some gcj users are doing that, for the reason you
gave. However, static builds tend to be large, because they include most
of the runtime.
> Is there a garbage-collector avaible? And how is that realized, I thing
> there is no runtime-enviroment...
The included GC library is the Boehm-Demers-Weiser conservative collector.
(See http://www.hpl.hp.com/personal/Hans_Boehm/gc/ for details on the GC
library.)
> Will all java-classes that are included in my file (e.g. java.io.*)
> compiled nativly?
Yes, most of java.* is included in libgcj and compiled natively. If you
give it a try, feel free to report problems to this list.
> Is gjc a "dead" or lacy project, or is there much traffic on it?
It's actively maintained. All releases of the GNU Compiler Collection
(GCC) since 3.0 include gcj. Your best bet is the 3.1 release, due out
shortly.
Jeff
next prev parent reply other threads:[~2002-05-06 17:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-06 10:13 Clemens Eisserer
2002-05-06 10:20 ` Tom Tromey
2002-05-06 10:55 ` Clemens Eisserer
2002-05-06 13:01 ` Tom Tromey
2002-05-07 6:59 ` Andrew Haley
2002-05-06 10:40 ` Jeff Sturm [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-01 0:00 Newbie questions Maury Markowitz
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=Pine.LNX.4.10.10205061319370.5979-100000@mars.deadcafe.org \
--to=jsturm@one-point.com \
--cc=java@gcc.gnu.org \
--cc=linuxhippy@freemail.de \
/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).