This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: gcj link


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.


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