This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


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

FAQ Patch


Here's a minor tweak to the recent FAQ entries
by Joerg Brunsmann.  "gcj -c -shared" isn't
quite kosher; the '-c' shouldn't be there.

2000-03-27  Glenn Chambers <gchambers@provsol.com>

	* faq.html: Remove bogus '-c' from gij shared library
	example


Index: faq.html
===================================================================
RCS file: /cvs/java/htdocs/faq.html,v
retrieving revision 1.19
diff -u -r1.19 faq.html
--- faq.html	2000/03/15 05:16:52	1.19
+++ faq.html	2000/03/27 19:50:07
@@ -196,7 +196,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:
 <pre>
-$ gcj -shared -c -o HelloWorld.so HelloWorld.java
+$ gcj -shared -o HelloWorld.so HelloWorld.java
 $ gij HelloWorld
 </pre>
           This works because gij uses Class.forName, which now 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]