Patch: RFA: fix PR java/15578 (not just a java patch)
Andrew Haley
aph@redhat.com
Sat Sep 25 17:44:00 GMT 2004
Tom Tromey writes:
> This patch fixes PR 15578.
>
> We want to accept "-extdirs" and "-encoding" (single dash) in addition
> to the double-dash long forms. This is needed for compatibility with
> javac. Also it seems to me that if we support "--option=value" we
> should also support the "--option value" form.
>
> This patch accomplishes this by modifications in a few places. It
> occurred to me later that this could perhaps be cleaned up a bit by
> moving the "--" forms out of gcc.c and handling it all purely in
> jvspec.c. Is that preferable? I left it as is, following existing
> code. If it is preferable to do it the other way I'll write a patch
> that removes the java-specific bits from gcc.c:option_map.
>
> Comments? Ok?
>
> Tom
>
> Index: ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> PR java/15578:
> * gcc.c (option_map): Added --extdirs and --encoding.
>
This is OK by me, but I agree we should probably move this stuff to
jvspec.c. Perhaps not in Stage 3, though.
Andrew.
More information about the Java-patches
mailing list