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: AWT with static gcj


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


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