AWT with static gcj

David Daney ddaney@avtrex.com
Thu Oct 5 17:54:00 GMT 2006


dezumondo wrote:
> Hi.
> 
> Attached is the file generated when I typed this:
> strace -o strace.txt gij HelloWorldSwing
> 
>  From the looks of it, it seems that many libraries needed are missing?
> Sorry if I'm wrong, today is the first time I used strace. I'm a
> newbie in this area, but I hope to learn and contribute... :)
> 

Several things:

1) It is normal for there to be many attempts (and failures) to find any 
given shared object.  The important thing is that in the end it is 
found.  I didn't see any missing library problems in a cursory glance at 
the strace dump.

2) I have had very bad luck using strace with gcj/libgcj.  It changes 
program behavior for the worse.

3) If you want to debug libgcj, gdb is your best bet.

David Daney



More information about the Java mailing list