Re: Forward declaration of classes needed when using GCJ?

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

 



Never respond directly to me. Keep the original mailing list(gcc-help@) on the CC list.

Andrew W wrote:
Fair enough but that doesnt actually address the problem. Its ClassB it doesnt like.


It likes it just fine. I successfully compiled your exact code on my Fedora Core 8 system using this command line:


David Daney wrote:

That should be:
gcj --main=net.mydomain.core.ClassA ./net/mydomain/core/ClassA.java ./net/mydomain/core/ClassB.java


David Daney

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux