GCJ FAQ correction

Brian Sullivan bsulliv@bbnow.net
Wed Feb 19 17:33:00 GMT 2003


Hello,
The GCJ FAQ at http://www.gnu.org/software/gcc/java/faq.html in section 
"1.7 Can I interface byte-compiled and native java code" is incorrect, 
or did not appear to work correctly for me.
The FAQ states:
$ gcj -shared -o HelloWorld.so HelloWorld.java
$ gij HelloWorld
However, I had to change it to include a lib- in the output name (Linux 
x86):
$ gcj -shared -o lib-HelloWorld.so HelloWorld.java
$ gij HelloWorld
Which did indeed work.
Regards,
Brian Sullivan


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /