Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcj



Greetings,

On 5/28/05, T Anthony Allen <email@hidden> wrote:
> I am using Tiger. I know that gcc is distributed with it and I am
> interested in using gcj, which is the java compiler front end built
> into gcc. The gcj command is nowhere to be found on my machine, nor
> is the libgcj library that you need to link with java code compiled
> with gcj. I assume the gcj is just syntactic sugar invoking the right
> options for gcc.

First off, I don't think that's true, I think gcj is a bit more
complex than that.

> Do I have to build gcc from a distribution to get gcj and libgcj?

Probably, but check 'fink' first to see if there's one out there.

> Is
> there a reason why Apple did not include gcj with its distribution of
> gcc?

Well, if I were to speculate (and that's all we can do, here), I would
suggest that because gcj+libgcj doesn't implement the entirety of the
Java libraries, it's not considered a finished product yet.  GCJ
doesn't support AWT/Swing, which is a big drawback on a UI-centric
platform.  Beyond that, I think they're stuck somewhere between 1.2
and 1.4 in terms of the rest of the core libraries.

If Apple released it, I think they'd believe they have to support it
as a development environment, and since it's not really 'done' in the
sense that it's interchangable with 'javac' for doing development,
that's not likely to happen.  I really do wish that gcj+libgcj would
be interchangable with 'javac', and wish I could put my code where my
desire is, but I'm tainted by early reading of src.jar (and ongoing
need as I debug into Java core classes all the time in my day job).

> Any help appreciated.

No specific Apple answers here, but a reasonable hypothesis, I think. 
Good luck building it, if you try that path!  I'd guess it should
work, but I haven't tried.

> Tony

--  Morgan Schweers
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >gcj (From: T Anthony Allen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.