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: Compiling jar file using gcj


Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
> 
>>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o
> 
> Andrew> I'll say again
> Andrew> "a chunk of native code seems to be missing"
> Andrew> The RXTXcomm package contains native code.  You have to link it to your
> Andrew> main program.
> 
> He probably wants -fjni in the compile commands.

Maybe.  I've never seen the native code, so I don't know if it's JNI
or CNI.

Andrew.


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