This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |