gcj link
Steve Ni
list@boyi-online.com
Mon Apr 7 11:11:00 GMT 2003
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!
----- Original Message -----
From: "Lars Andersen" <lars@rimfaxe.com>
To: "Steve Ni" <list@boyi-online.com>
Cc: <java@gcc.gnu.org>
Sent: Monday, April 07, 2003 6:57 PM
Subject: Re: gcj link
> On Mon, 2003年04月07日 at 12:36, Steve Ni wrote:
> > Hi, a basic question, what's mean of this sentence:
> >
> > gcj --main=my -o mypgm.exe mypgm.o swt.so
> > NOTICE: swt is ".so" but not ".a" or ".o". It means swt.so is a dynamic
> > link library( when compile swt.so, use -shared option)
> >
>> Naming convention for a shared library swt on linux is :
>> libswt.so
>> and on windows :
>> swt.dll
>> and your link command should look like this :
>> gcj --main=my -o mypgm.exe mypgm.o -L. -lswt
>> -L. is where libswt.so/swt.dll is located, here just .
>>> /Lars Andersen
>>>>>
More information about the Java
mailing list