gcj search/compile
Bryce McKinlay
bryce@albatross.co.nz
Thu Dec 23 17:26:00 GMT 1999
gcj does not implement automatic compilation of dependencies, you must
specify all source files on the compilation command line. We probibly need
to improve the FAQ answer (4.3)ÃÂ about this.
regards
ÃÂ [ bryce ]
ÃÂ
Andrew Zahra wrote:
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ I'm
just trying out gcj. I have a trivial example: test.java which references
foo.java. With the standard java compiler I do "javac test.java" and it
compiles both files. The FAQ for GCJ seems to imply it will do the same
thing, searching for files to compile based on dependencies and compiling
them all, however when I compile with only test.java on the command line
I get unresolved references to foo in the link. If I place both on the
command line it works fine.
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ How
do I coerce gcj to compile all files javac style?
More information about the Java
mailing list