Re: Forward declaration of classes needed when using GCJ?

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

 



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


You are probably using an older gcj.  You didn't say which version.

Try setting the classpath for gcj, perhaps it cannot find the other class.

David Daney


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