aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-08-22 22:44:20 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-08-22 22:44:20 +0000
commit00a8b314c49a053180de6fc6ea3965640e619b0b (patch)
tree7b1ddefc6444ac8ddbadfb2d735a7c311b4b9345 /gcc
parent9acd8e650b1e3336b7f13eb02f6408f16890b365 (diff)
downloadgcc-00a8b314c49a053180de6fc6ea3965640e619b0b.zip
gcc-00a8b314c49a053180de6fc6ea3965640e619b0b.tar.gz
gcc-00a8b314c49a053180de6fc6ea3965640e619b0b.tar.bz2
* gcj.texi (Invoking gij): Document -cp and -classpath.
From-SVN: r56521
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/gcj.texi8
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 72e1603..fe4e8f2 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index ac1702f..f6e3a69 100644
--- a/gcc/java/gcj.texi
+++ b/gcc/java/gcj.texi
@@ -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.