* gcj.texi (Invoking gij): Document -cp and -classpath.
authorTom Tromey <tromey@redhat.com>
Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)
From-SVN: r56521

gcc/java/ChangeLog
gcc/java/gcj.texi

index 72e1603f1635c55da7ff6863ad3a09e625270069..fe4e8f2cbbc1b14ffd965a61d43219da8e65dbbf 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-22  Tom Tromey  <tromey@redhat.com>
+
+       * gcj.texi (Invoking gij): Document -cp and -classpath.
+
 2002-08-21  Tom Tromey  <tromey@redhat.com>
 
        * Make-lang.in (java/jcf-path.o): Use $(datadir), not
index ac1702f250367c11973b0ea8a0c15e02348ed47a..f6e3a69650a0a49e11167a4db7d60f68c036fb8e 100644 (file)
@@ -730,6 +730,7 @@ Print extra information while running.
 gij [@option{OPTION}] @dots{} @var{JARFILE} [@var{ARGS}@dots{}]
 
 gij [@option{-jar}] [@option{OPTION}] @dots{} @var{CLASS} [@var{ARGS}@dots{}]
+  [@option{-cp} @var{path}] [@option{-classpath} @var{path}]
   [@option{-D}@var{name}[=@var{value}]@dots{}]
   [@option{-ms=}@var{number}] [@option{-mx=}@var{number}]
   [@option{--version}] [@option{--help}]
@@ -772,6 +773,13 @@ been compiled and put into a shared library on the class path.
 @c man begin OPTIONS gij
 
 @table @gcctabopt
+@item -cp @var{path}
+@itemx -classpath @var{path}
+Set the initial class path.  The class path is used for finding
+class and resource files.  If specified, this option overrides the
+@code{CLASSPATH} environment variable.  Note that this option is
+ignored if @code{-jar} is used.
+
 @item -D@var{name}[=@var{value}]
 This defines a system property named @var{name} with value @var{value}.
 If @var{value} is not specified then it defaults to the empty string.