[Bug java/19368] GCJ doesn't build working "hello world" on OS X

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 11 14:11:00 GMT 2005


------- Additional Comments From andreast at gcc dot gnu dot org  2005-01-11 14:11 -------
Todays gcc builds and runs this hello fine :)

The difference I have here is the linking stage of libstdc++ and libgcj which I
do with -dynamiclib -single_module.

Without these modifications in ltcf-** we really have to wait that long until
the result comes over.

[wolfram:objdir/powerpc-apple-darwin7.7.0/libjava] andreast% time ./hello
Hello!

0.780u 0.060s 0:01.68 50.0%     0+0k 0+0io 0pf+0w

On a G4/1.5GHz with full mauve testsuite load, the above mentioned :)

Configured with: /Volumes/src/gcc/gcc-cvs/gcc/configure
--prefix=/Volumes/src/gcc/gcc-cvs/testbin --enable-languages=c,c++,java
--enable-java-awt=gtk --enable-gtk-cairo --enable-libgcj-multifile
--disable-checking
Thread model: posix
gcc version 4.0.0 20050111 (experimental)

in reply to comment #1, yes it does run with tiger much faster. Also we can run
awt and swing apps based on gtk.

Unless Apple updates dylib we have no chance to have it better on 10.3.x :(
I even do not know if it would be possible.

-- 


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



More information about the Gcc-bugs mailing list