Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/gij.cc

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    2929  printf ("       gij -jar [OPTION] ... JARFILE [ARGS] ...\n");
    3030  printf ("          to execute a jar file\n\n");
     31  printf ("  --cp LIST         set class path\n");
     32  printf ("  --classpath LIST  set class path\n");
    3133  printf ("  -DVAR=VAL         define property VAR with value VAL\n");
    3234  printf ("  --help            print this help, then exit\n");
    3335  printf ("  --ms=NUMBER       set initial heap size\n");
    3436  printf ("  --mx=NUMBER       set maximum heap size\n");
     37  printf ("  --showversion     print version number, then keep going\n");
    3538  printf ("  --version         print version number, then exit\n");
     39  printf ("\nOptions can be specified with `-' or `--'.\n");
    3640  printf ("\nSee http://gcc.gnu.org/java/ for information on reporting bugs\n");
    3741  exit (0);
     
    4549  printf ("This is free software; see the source for copying conditions.  There is NO\n");
    4650  printf ("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
    47   exit (0);
    4851}
    4952
     
    9194        help ();
    9295      else if (! strcmp (arg, "-version"))
     96        {
     97          version ();
     98          exit (0);
     99        }
     100      else if (! strcmp (arg, "-showversion"))
    93101        version ();
    94102      /* FIXME: use getopt and avoid the ugliness here.
     
    116124          _Jv_SetMaximumHeapSize (argv[++i]);
    117125        }
     126      else if (! strcmp (arg, "-cp") || ! strcmp (arg, "-classpath"))
     127        {
     128          if (i >= argc - 1)
     129            goto no_arg;
     130          // We set _Jv_Jar_Class_Path.  If the user specified `-jar'
     131          // then the jar code will override this.  This is the
     132          // correct behavior.
     133          _Jv_Jar_Class_Path = argv[++i];
     134        }
    118135      else
    119136        {
Note: See TracChangeset for help on using the changeset viewer.