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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: RFA: fix PR java/15578 (not just a java patch)


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.


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