[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug AWT/16121] gtk based awt peers: cast from pointer to integer of different size



------- Additional Comments From falk at debian dot org  2004-07-31 16:02 -------
(In reply to comment #18)
> The class lookup for gnu.java.awt.peer.gtk.GtkToolkit is failing.  First, are
> you sure you're using the version of gcj you just built?

Pretty much, otherwise I wouldn't see the DEBUG output, or am I missing
something?

> Second, you should not have the CLASSPATH environment variable set.

I haven't.

> Does a simple "Hello World" program compile and run properly?

Yes:
% cat Hello.java
class Hello {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

falk@juist:/tmp% gcj Hello.java --main=Hello && ./a.out 
Hello World!

> Can you post the output of:
> 
> ldd ./a.out
> and
> strace ./a.out

For TestAWT.java:

falk@juist:/tmp% ldd a.out 
        libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x000002000002a000)
        libgcj.so.6 => /usr/local/lib/libgcj.so.6 (0x0000020000046000)
        libm.so.6.1 => /lib/libm.so.6.1 (0x00000200010c8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0000020001156000)
        libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000020001200000)
        libc.so.6.1 => /lib/libc.so.6.1 (0x0000020001214000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000020000000000)

I'll also attach strace output.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16121

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: