This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: gcj faq fix


I'm checking this in.  This fixes a buglet in the gcj faq.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey at redhat dot com>

	* faq.html (1.7): Use correct name for shared library.

Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/faq.html,v
retrieving revision 1.57
diff -u -r1.57 faq.html
--- faq.html 4 Jan 2003 18:34:18 -0000 1.57
+++ faq.html 19 Feb 2003 18:43:40 -0000
@@ -166,7 +166,7 @@
           much like a traditional virtual machine. You can even use "gij" to run a shared library 
           which is compiled from java code and contains a main method:</p>
           <pre>
-$ gcj -shared -o HelloWorld.so HelloWorld.java
+$ gcj -shared -o lib-HelloWorld.so HelloWorld.java
 $ gij HelloWorld
           </pre>
           This works because gij uses Class.forName, which knows how to load shared objects.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]