summaryrefslogtreecommitdiff
path: root/gcc/java/gcj.texi
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 08:35:11 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 08:35:11 +0000
commite8ca16d1766905de9d72b474ac58067b9ff82273 (patch)
tree2d5ffb4752a4b455256e860f15ecb662d91ac6e9 /gcc/java/gcj.texi
parent5609b23bc882eb995c7f7136ba2092857963b2f5 (diff)
downloadgcc-e8ca16d1766905de9d72b474ac58067b9ff82273.tar.gz
Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/gcj.texi')
-rw-r--r--gcc/java/gcj.texi35
1 files changed, 14 insertions, 21 deletions
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index e88e8fb2cde..271a4e756cd 100644
--- a/gcc/java/gcj.texi
+++ b/gcc/java/gcj.texi
@@ -240,16 +240,16 @@ compatibility with tools like @code{javac} is imported, we recommend
always using @code{-I} instead of the other options for manipulating the
class path.
-@item --CLASSPATH=@var{path}
-This sets the class path to @var{path}, a colon-separated list of paths
-(on Windows-based systems, a semicolon-separate list of paths). Using
-this option causes the built in path to be suppressed.
-
@item --classpath=@var{path}
This sets the class path to @var{path}, a colon-separated list of paths
-(on Windows-based systems, a semicolon-separate list of paths). This
-differs from the @code{--classpath} option in that it does not suppress
-the built-in system path.
+(on Windows-based systems, a semicolon-separate list of paths).
+This does not override the builtin (``boot'') search path.
+
+@item --CLASSPATH=@var{path}
+Deprecated synonym for @code{--classpath}.
+
+@item --bootclasspath=@var{path}
+Where to find the standard builtin classes, such as @code{java.lang.String}.
@item CLASSPATH
This is an environment variable which holds a list of paths.
@@ -262,21 +262,14 @@ The final class path is constructed like so:
First come all directories specified via @code{-I}.
@item
-If @option{--CLASSPATH} is specified, its value is appended and processing
-stops. That is, @option{--CLASSPATH} suppresses all the options mentioned
-later in this list.
-
-@item
-If @option{--classpath} is specified, its value is appended and the
-@code{CLASSPATH} environment variable is suppressed.
-
-@item
-If the @code{CLASSPATH} environment variable is specified (and was not
-suppressed by @option{--classpath} or @option{--CLASSPATH}), then its
-value is appended.
+If @option{--classpath} is specified, its value is appended.
+Otherwise, if the @code{CLASSPATH} environment variable is specified,
+then its value is appended.
+Otherwise, the current directory (@code{"."}) is appended.
@item
-Finally, the built-in system directory, @file{libgcj.jar}, is appended.
+Finally, if @code{--bootclasspath} was specified, append its value.
+Otherwise, append the built-in system directory, @file{libgcj.jar}.
@end itemize
The classfile built by @code{gcj} for the class @code{java.lang.Object}