gcj search/compile
Andrew Zahra
andzahra@nortelnetworks.com
Thu Dec 23 16:43:00 GMT 1999
Title: gcj search/compile
Hi,
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 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?
Andrew.
----------------------
Andrew Zahra, Nortel Networks - Wollongong Australia. andzahra@nortelnetworks.com
Tel: +61 2 4224 2872ÃÂ ÃÂ ESN: 639 2872ÃÂ ÃÂ ÃÂ ÃÂ Fax: +61 2 4224 2801ÃÂ Mobile: +61 42 840 3759
Box U87, Uni of Wollongong
Wollongong, NSW 2500
Australia
More information about the Java
mailing list