public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Mark Wielaard <mark@klomp.org>
Cc: tromey@redhat.com, Gcc Patch List <gcc-patches@gcc.gnu.org>,
	        Java Patch List <java-patches@gcc.gnu.org>
Subject: Re: Patch: Remove fastjar
Date: Fri, 31 Mar 2006 00:29:00 -0000	[thread overview]
Message-ID: <442C77DA.5090602@bothner.com> (raw)
In-Reply-To: <1143763021.5220.5.camel@localhost.localdomain>

Mark Wielaard wrote:
> On Thu, 2006-03-30 at 18:29 -0500, Andrew Pinski wrote:
>>> Perhaps gcc/doc/install.texi should have something added to reflect the 
>>> new requirements for building.
>> I still say there is a misunderstanding going on because not all
>> people will already have a jar program installed (in fact I don't
>> one installed on my work GNU/Linux box).  Making a new requirment
>> to compile libgcj will make GCC people think twice about compiling
>> GCC.
> 
> It is going to be a bit of extra pain for users to compile libgcj if
> this is removed from the tree. Would it be possible to use the minizip
> implementation from the included zlib to create the jar/zip file? That
> way we don't introduce an extra dependency on the user. Or try to detect
> a working zip binary on the users system? At least a zip utility is more
> likely to be available then a jar utility.

Ideally, I'd like to get rid of fastjar.  It should be replaced by a
wrapper on top of java.util.zip and java.util.jar.  I assume this is
what Sun does.  Is there any reason to not do that?

For bootstrapping, we can use zip/unzip if an installed jar isn't
available.  Though I'm not sure why we need either.

One factor is that jar/fastjar is a host application, while we build
libgcj for target.  I don't think that's a problem: Part of the
bootstrap process when building a cross-compiler could reasonably
be to build host versions of the libraries.   We used to do this
for libiberty; I don't know what we currently do.  Presumably
this is not a problem at this point - gcjx would obviously need C++
host libraries.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2006-03-31  0:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 23:00 Tom Tromey
2006-03-30 23:06 ` Andrew Pinski
2006-03-31 18:19   ` Tom Tromey
2006-03-31 18:40     ` DJ Delorie
2006-04-03 23:21       ` Tom Tromey
2006-03-30 23:12 ` David Daney
2006-03-30 23:29   ` Andrew Pinski
2006-03-30 23:57     ` Mark Wielaard
2006-03-31  0:29       ` Per Bothner [this message]
2006-03-31 11:09         ` Mark Wielaard
2006-03-31 17:16           ` Bryce McKinlay
2006-03-31 17:26             ` Per Bothner
2006-03-31 19:27               ` Bryce McKinlay
2006-03-31 19:39                 ` Per Bothner
     [not found]         ` <e0inac$vgh$1@sea.gmane.org>
2006-03-31 13:47           ` [RFC] jar shell script (was Re: Patch: Remove fastjar) Paolo Bonzini
2006-03-31 14:02             ` Paolo Bonzini
2006-03-31 18:24         ` Patch: Remove fastjar Tom Tromey
2006-03-31 18:21       ` Tom Tromey
2006-04-04  0:12         ` Tom Tromey
2006-03-31 23:43 ` Mark Mitchell
2006-05-26 11:24   ` Richard Guenther
2006-05-26 12:33     ` Andrew Haley
2006-05-26 12:42     ` Tom Tromey
2006-04-01  9:30 ` Laurent GUERBY
2006-04-04  0:18 ` 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=442C77DA.5090602@bothner.com \
    --to=per@bothner.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    --cc=mark@klomp.org \
    --cc=tromey@redhat.com \
    /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).