This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: FYI: java web updates
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 02 Feb 2002 19:43:47 -0700
- Subject: Patch: FYI: java web updates
- Reply-to: tromey at redhat dot com
I'm checking this in.
This fixes a few java web page problems pointed out on the gcc list.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* compile.html: Fixed grammatical errors.
* faq.html: Use "optimize", not "optimise".
Index: compile.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/compile.html,v
retrieving revision 1.3
diff -u -r1.3 compile.html
--- compile.html 2001/02/08 17:34:35 1.3
+++ compile.html 2002/02/03 02:23:11
@@ -61,7 +61,7 @@
options you specify.</dd>
<dt>.jar</dt>
-<dd>A .jar (Java ARchive) file is file in .zip format, but following
+<dd>A .jar (Java ARchive) file is in .zip format, but following
certainly extra conventions. (Certain extra files should also be
included.) GCJ treats it the same as a .zip file.</dd>
@@ -74,7 +74,7 @@
<dl>
<dt>-C</dt>
-<dd>The input file(s) must be all be .java source files. They are compiled
+<dd>The input file(s) must all be .java source files. They are compiled
into portable .class files. No machine code (.o files or executable)
is generated.</dd>
@@ -106,16 +106,23 @@
<dt>--main=CLASSNAME</dt>
<dd>When linking an application, generate a stub so the application starts
executing with the main method of the class named. (This option is
-ignored if you are only compiling and not linking.) Path searching
-options At compile time, GCJ uses a list of paths to search for
-classes and packages that it needs to find. This list is called the
+ignored if you are only compiling and not linking.)</dd>
+
+</dl>
+
+<h3>Path searching options</h3>
+
+<p>At compile time, GCJ uses a list of paths to search for classes and
+packages that it needs to find. This list is called the
classpath. Each element of the classpath can be either a directory or
the name of a .zip or .jar file. In the latter case, GCJ searches the
contents of the file for the required information. GCJ has a built-in
classpath, which includes the directory ., and the system libgcj.zip
file, which holds classes from the standard Java class libraries, such
-as java.lang. There are several ways to set or augment the classpath.</dd>
+as java.lang. There are several ways to set or augment the
+classpath.</p>
+<dl>
<dt>-I directory</dt>
<dd>A directory (or file) specified using -I are prepended to the
classpath. -I options are never overridden by the other options listed
Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/faq.html,v
retrieving revision 1.49
diff -u -r1.49 faq.html
--- faq.html 2001/11/14 09:15:28 1.49
+++ faq.html 2002/02/03 02:23:13
@@ -72,7 +72,7 @@
<li><a href="#5_6">How can I profile my application?</a>
<li><a href="#5_7">My program seems to hang and doesn't produce any output</a>
</ol>
- <li><a href="#6_0">Programing Issues</a>
+ <li><a href="#6_0">Programming Issues</a>
<ol>
<li><a href="#6_1">Are there any examples of how to use CNI?</a></li>
<li><a href="#6_2">Is it possible to invoke GCJ compiled Java code from a C++ application?</a></li>
@@ -421,7 +421,7 @@
<dl>
<dd>GCJ will compile both source <code>(.java)</code> and bytecode
<code>(.class)</code> files. However, in many cases the native code produced
- by compiling from source is better optimised than that compiled from .class
+ by compiling from source is better optimized than that compiled from .class
files.
<p><a href="mailto:per@bothner.com">Per Bothner</a> explains: </p>
@@ -653,7 +653,7 @@
<table width="100%" border="0">
<tr bgcolor="#B0D0FF" align="left">
<th>
- <h2><a name="6_0"></a>Programing Issues </h2>
+ <h2><a name="6_0"></a>Programming Issues </h2>
</th>
</tr>
</table>