GCJ + RXTX

Mark Anderson mark@panonet.net
Tue Feb 8 06:49:00 GMT 2005


On Monday 24 Jan 2005 10:47, Andrew Haley wrote:
> Mark Anderson writes:
> > I am trying to use the RXTX (2.1-7pre17) serial I/O library with gcj
> > (4.0 snapshot from 16/01/05).
> >
> > I have a simple test program to list the available ports. This works
> > fine when I compile my program to work against the libgcj shared
> > library. However, when I add the -static flag the program will list the
> > ports but then hang and not exit.
> >
> > I have attached the strace output for both running against the shared
> > library and using static. It seems that the static version is not
> > receiving a SIGRTMIN signal at the very end causing it not to exit.
> >
> > Does anyone have any idea what is happening?
>> It's hard to say. strace isn't very useful for this kind of thing.
>> Did you try to debug with gdb?
>> Andrew.

I have not tried gdb but will. I have never really used gdb before and my 
knowledge of it amounts to what I have seen in the help document on the GCJ 
web pages. Can anyone give me some pointers to what commands I should be 
using to help track down this issue?
-- 
Regards,
Mark


More information about the Java mailing list

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