[patch] gjnih
Thomas Fitzsimmons
fitzsim@redhat.com
Sun May 1 02:10:00 GMT 2005
On Thu, 2005-04-28 at 20:05 -0600, Tom Tromey wrote:
> >>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:
>
> Just fyi -- patches in gcc/java have to go to gcc-patches.
> I usually CC java-patches too so that gcj hackers are sure to see it.
>
> Tom> (main): Mark as weak.
>
> Let's not do this.
>
> Instead, for instance, we could have a single file with main() which
> we compile with different -D arguments. This doesn't rely on outre
> features like weak.
New patch attached. This patch also adds some options for javah
compatibility, specifically -force, -old, -trace and -J.
Tom
2005-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
PR java/20309
* Make-lang.in (java): Add gjnih.
(JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
(GJNIH_OBJS): New variable.
(gjnih$(exeext)): New target.
(JAVA_MANFILES): Add gjnih.1.
(java.uninstall): Add gjnih.1.
(java.mostlyclean): Add gjnih.
(java.maintainer-clean): Add gjnih.1.
(java/gjavah-jni.o): New target.
(.INTERMEDIATE): Add gjnih.pod.
(gjnih.pod): New target.
* config-lang.in (stagestuff): Add gjnih.
* gcj.texi (Top): Add gjnih node.
(Invoking gcjh): Add descriptions of -force, -old, -trace, -J and
-bootclasspath options.
(Invoking gjnih): New node.
* gjavah.c Initialize flag_jni to 1 if JNI_DEFAULT is defined.
(TOOLNAME): New macro.
(error): Replace hard-coded gcjh with TOOLNAME.
(process_file): Likewise.
(usage): Likewise.
(version): Likewise.
(help): Likewise. Add help output for -force, -old, -trace and -J
options.
(OPT_FORCE, OPT_OLD, OPT_TRACE, OPT_J): New macros.
(options): Add force, old, trace and J fields.
(main): Handle -force, -old, -trace and -J options.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gjnih2.patch
Type: text/x-patch
Size: 15807 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050501/b79056ac/attachment.bin>
More information about the Java-patches
mailing list