gcj link

Andrew Haley aph@redhat.com
Mon Apr 7 11:15:00 GMT 2003


Steve Ni writes:
 > Thanks, I study this command from here:
 > http://www-900.ibm.com/developerWorks/cn/linux/guitoolkit/j-nativegui/index_
 > eng.shtml
 > 
 > Haha, I don't know if this article is wrong!
It is. Apart from anything else, if you're making a shared object on
Linux (or any UNIX AFAIK) you must compile with -fpic. Link against
the shared object with -lfoo.
Andrew.


More information about the Java mailing list

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