This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcj broken on darwin
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