aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-08-22 22:44:20 +0000
committerTom Tromey <tromey@redhat.com>2002-08-22 22:44:20 +0000
commit46f76d183f53dc268d901b9c21a0a7ebc524bbd2 (patch)
tree7b1ddefc6444ac8ddbadfb2d735a7c311b4b9345 /gcc/java
parent2db87a70fdd7d0f181c4e363d544ade7f7b46e02 (diff)
* gcj.texi (Invoking gij): Document -cp and -classpath.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@56521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-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 72e1603f163..fe4e8f2cbbc 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 ac1702f2503..f6e3a69650a 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.