Need your help about GCJ

Ranjit Mathew rmathew@gmail.com
Fri Jun 17 14:14:00 GMT 2005


sundy wrote:
> Dear,
> Are u all right? I sorry to trouble you. I have a code writen by java.
> Now, i need to compile it into share object used in Linux (My system is
> Redhat 9.0).but i don't know how to do it. Need your help hurryly. Thank
> you.

Read the GCC manuals:
 http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
It can be as simple as:
 gcj -fPIC -shared Foo.java Bar.java -o snafu.so
See also "How to BC compile with GCJ" (needs GCJ 4.0.0 or better):
 http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ
HTH,
Ranjit.
-- 
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/


More information about the Java mailing list

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