From: Hanno Meyer-Thurow <h.mth@web.de>
To: Joshua Nichols <nichoj@gentoo.org>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] work on gcj for gentoo
Date: Tue, 21 Feb 2006 18:53:17 +0100 [thread overview]
Message-ID: <20060221185317.3e23ce8c.h.mth@web.de> (raw)
In-Reply-To: <43FB35B6.10105@gentoo.org>
On Tue, 21 Feb 2006 10:45:58 -0500
Joshua Nichols <nichoj@gentoo.org> wrote:
> For JDK-like environment, redhat has done much work on this already. It
> is, surprisingly enough, called java-gcj-compat. Take a look at the
> jpackage rpm for it [1]. You can find other sites for java-gcj-compat,
> but the jpackage rpm seems to have the highest version I was able to find.
I did test java-gcj-compat already. It is of no use other than
java/javac links to gij/gcj. If that is what you want I may add that
symlinks to the ebuild. Besides that I work on OOo2. There you
need a JDK-like environment with gij/gcj and not java/javac
executables. As far as I looked at applications they look for gij/gcj
instead of java/javac then. So I do not see any use of that
java-gcj-compat package. It produces more work and things get
even more ugly.
As for ecj applications have --with-ecj switch or alike.
I will have a look on gcj/ecj issue for applications after
ant-core-1.6.5 merged with ecj.
> This shouldn't be much of a problem. The build.xml is pretty trivial, so
> you should be able to replicate it using javac and jar.
True. Hacked up a build.sh for ecj native version already.
> There really isn't much 'integration' involved per se. You mostly just
> have to create an env file that contains information about JAVA_HOME,
> PATH, etc. Take a look at existing jdk/jre packages.
That would be great. I will see.
> I'm not fond of the name gcj-jdk. The ebuild Andrew made was just for
> gcj itself, without the Java compatibility stuff, iirc. -jdk suggests
> that it provides a usable JDK, which it doesn't as it was.
Well, I would just say gcj is a bit different than usual JDKs.
I am fine to rename it to dev-java/gcj. It is a gcc front-end.
No matter what. So you are right for naming.
But it provides a usable JDK in its way and usable by application
already in Portage. (see above)
> Speaking of which, I think the added compatibility layer (for javac,
> java, etc) should be a separate package. I'm not sure if this was your
> intention or not. Either way, it would make sense, since you would most
> likely be able to use the same layer for different versions of gcj.
At the moment I do not see a reason to slot it. You just want the
latest version of gcj 4.1 because of enhancements and fixes.
GCJ 4.0 is missing too many features.
The reason why I want to push on gcj is because with gcj 4.1
and ecj as bytecompiler you get Azureus build and running.
Regards,
Hanno
--
gentoo-java@gentoo.org mailing list
next prev parent reply other threads:[~2006-02-21 17:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 15:04 [gentoo-java] work on gcj for gentoo Hanno Meyer-Thurow
2006-02-21 15:42 ` Karl Trygve Kalleberg
2006-02-21 18:14 ` Hanno Meyer-Thurow
2006-02-21 18:21 ` Karl Trygve Kalleberg
2006-02-21 15:45 ` Joshua Nichols
2006-02-21 15:55 ` Joshua Nichols
2006-02-21 17:53 ` Hanno Meyer-Thurow [this message]
2006-02-22 8:16 ` Andrew Cowie
2006-02-27 22:38 ` Hanno Meyer-Thurow
2006-03-01 12:30 ` Andrew Cowie
2006-03-01 14:38 ` Hanno Meyer-Thurow
2006-02-28 7:34 ` [RESEND] " Hanno Meyer-Thurow
2006-02-22 16:51 ` Hanno Meyer-Thurow
2006-02-23 2:09 ` Andrew Cowie
2006-02-23 11:25 ` Hanno Meyer-Thurow
2006-02-24 17:26 ` Hanno Meyer-Thurow
2006-02-25 14:43 ` Hanno Meyer-Thurow
2006-02-28 10:25 ` Hanno Meyer-Thurow
2006-02-28 20:37 ` Hanno Meyer-Thurow
2006-03-02 10:35 ` Hanno Meyer-Thurow
2006-03-11 20:51 ` Hanno Meyer-Thurow
2006-03-12 18:25 ` Hanno Meyer-Thurow
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=20060221185317.3e23ce8c.h.mth@web.de \
--to=h.mth@web.de \
--cc=gentoo-java@lists.gentoo.org \
--cc=nichoj@gentoo.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