This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFC/RFA] fallback to bourne shell implementation of jar
- From: Tom Tromey <tromey at redhat dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, java-patches at gcc dot gnu dot org
- Date: 05 Apr 2006 15:28:55 -0600
- Subject: Re: [RFC/RFA] fallback to bourne shell implementation of jar
- References: <4433C8DD.40204@lu.unisi.ch> <4433C9D3.9040903@lu.unisi.ch>
- Reply-to: tromey at redhat dot com
Paolo> Attached is a newer version of the patch. Sorry.
I think this idea is just fine.
Paolo> +AC_CONFIG_FILES([jar], [chmod +x jar])
Probably should go in scripts/.
Paolo> libgcj-$(gcc_version).jar:
Paolo> - cd classpath/lib; $(JAR) -cfM \
Paolo> - ../../libgcj-$(gcc_version).jar gnu java javax org
Paolo> + $(JAR) -cfM libgcj-$(gcc_version).jar \
Paolo> + -C classpath/lib gnu java javax org
I don't think this is correct. As I understand it, -C affects *only*
the immediately following file. So, for this you would need 4 -C
options. I know this seems bogus (at least it does to me)... but
AFAIK that is how it really works.
Tom