PATCH for 2.95: gcj --help

Tom Tromey tromey@cygnus.com
Mon Jun 28 12:03:00 GMT 1999


This patch makes `gcj --help' work.
I wil commit it on the trunk.
Please apply it to the 2.95 branch.

1999-06-28  Tom Tromey  <tromey@cygnus.com>

	* jvspec.c (lang_specific_driver): Recognize --help.

Tom

Index: jvspec.c
===================================================================
RCS file: /cvs/egcs/egcs/gcc/java/jvspec.c,v
retrieving revision 1.17.4.1
diff -u -r1.17.4.1 jvspec.c
--- jvspec.c	1999/06/05 08:18:20	1.17.4.1
+++ jvspec.c	1999/06/28 18:18:12
@@ -223,6 +223,8 @@
 	      main_class_name = argv[i] + 7;
 	      added--;
 	    }
+	  else if (strcmp (argv[i], "-fhelp") == 0)
+	    will_link = 0;
 	  else if (strcmp (argv[i], "-v") == 0)
 	    {
 	      saw_verbose_flag = 1;


More information about the Gcc-patches mailing list