OSDN Git Service

* gcj.texi (Invoking gij): Document -cp and -classpath.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56521 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 72e1603..fe4e8f2 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 ac1702f..f6e3a69 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.