This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: building gcj on OS X (also AWT)
- From: Tom Tromey <tromey at redhat dot com>
- To: John Gabriele <john3g at bestweb dot net>
- Cc: java at gcc dot gnu dot org
- Date: 22 May 2004 13:13:52 -0600
- Subject: Re: building gcj on OS X (also AWT)
- References: <380573A0-A9E3-11D8-B380-003065776B20@bestweb.net>
- Reply-to: tromey at redhat dot com
>>>>> "John" == John Gabriele <john3g@bestweb.net> writes:
John> I'd like to build gcc 3.4.0 on Mac OS X 10.3.3. In particular,
John> I want gcj, hopefully with whatever AWT/Swing comes with it,
John> just so I can write command line and also simple GUI user apps.
Great. I read through this thread, and I just have a few comments to
make.
John> Also, is GCJ's AWT currently the best option (vs. Swing) to do
John> a simple GUI?
AWT is definitely more advanced than Swing at this point. However,
even AWT is not very complete.
Note that AWT work is ongoing. Tom Fitzsimmons and David Jee in
particular have been doing a lot of work in this area. How complete
the support is will depend on the precise snapshot you pick up.
I believe Tom's jhbuild work will check out the "GUI branch", which
is where development on AWT and Swing takes place. Here's some
information on that:
http://people.redhat.com/fitzsim/gcj-and-jhbuild.html
I have no idea whether jhbuild will build gcj on Mac OS X.
I know you didn't ask about this, but another nice way to build GUIs
with gcj is to use the java-gnome package. This is a set of Gtk (and
Gnome, etc) bindings for Java.
John> Will AWT only work with X (and not Quartz)?
We currently have two peers: the plain xlib peers and the Gtk peers.
The xlib peers have minimal functionality and sort of limp along,
usually building but not really tested except by Scott Gilbertson.
The Gtk peers get a lot more attention and are much more complete.
We would welcome folks wanting to write Quartz (whatever that is :-)
peers, or Windows peers, or whatever else.
Tom