[RFC/RFA] fallback to bourne shell implementation of jar

Gerald Pfeifer gerald@pfeifer.com
Sun Apr 9 10:44:00 GMT 2006

On Wed, 5 Apr 2006, Paolo Bonzini wrote:
> This patch, bootstrapped on i686-pc-linux and tested with "make check" and
> "make src.zip" too, provides a fallback implementation of jar written in sh.
> This implementation also supports the fastjar extension "-@".


> Shortly speaking, the rationale for this patch is that if you pick a random
> machine, jar will only be installed if someone already had a JDK installed.  I
> think that many people, including those that only want to have free software
> on their machine, do *not* have jar installed before they attempt to install
> gcj, and will be frustrated from having to install another tool.  On the other
> hand, they probably do have InfoZIP installed and this provides enough
> functionality to implement jar on top of it.

When this does in, would you mind adding a note to install.texi to that
end, noting that either jar or unzip are a prerequisite to build libjava?


More information about the Gcc-patches mailing list