This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
classpath patch for gcj.texi
- From: Per Bothner <per at bothner dot com>
- To: gcj-patches at gcc dot gnu dot org
- Cc: java at gcc dot gnu dot org
- Date: Sat, 02 Mar 2002 00:08:11 -0800
- Subject: classpath patch for gcj.texi
I'll check this gcj.texi patch after I've checked in the
actual code patch (which I've posted before).
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
Index: gcj.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gcj.texi,v
retrieving revision 1.23
diff -u -r1.23 gcj.texi
--- gcj.texi 2002/02/28 11:40:28 1.23
+++ gcj.texi 2002/03/02 08:04:29
@@ -240,17 +240,17 @@
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.
@end table
@@ -261,22 +261,15 @@
@item
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}