This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: `make install` should install the info files in java



Tom Tromey wrote:
> Right now we install fastjar.  However, I don't think we should.
> We really should only use it when building.

Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> Why not? The JDK provides a jar utility, I don't see a reason why we
> shouldn't, except that it might be nicer to have out own "jar" written
> in Java which excercises the java.util.jar implementation in libgcj.

Assuming fastjar is compatible with JDK's jar, we should it install
it as $prefix/bin/jar.  Yes, we could have a jar tool written in Java,
but presumably fastjar is faster.  But a bigger reason for using fastjar
rather than something written using java.util.jar is cross-compilation:
fastjar is a "host" tool; libjava is a "target" library.  At some point
there might be a reason for host tools written in Java, but a jar
program is not it.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]