gcj broken on darwin

David Daney ddaney@avtrex.com
Wed Mar 19 14:59:00 GMT 2008


Jack Howarth wrote:
> Matthias,
>    My mistake. I see the same issue with gcc-4.2.2 on darwin
> which is indeed resolved with --main=testme. I am puzzled why
> this isn't automatically handled (as it seems to be with
> javac)?
>   
We give you the flexibility to write your own main.  As a side benefit, 
you also get the ability to shoot yourself in the foot.

This is of course documented in: 
http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcj/Linking.html


David Daney



More information about the Java mailing list