Adam Heath wrote:

I have found that, in theory, gcj and gij are compatible, in reality they are
not.  To be compatable, they *MUST* take *EXACTLY* the same arguments as other
standard $(JAVA) and $(JAVAC).

I've had to put special code into my own build system to switch between
standard jvms and the gcj suite.

I'm not sure what you mean by "other standard $(JAVA) and $(JAVAC)",
except by by reference to what JDK does. We do try to match at least the
most generally-used flags. Patches to improve the command-line processing
of 'gij' and 'gcj -C' so they better match 'java' and 'java' would be very welcome;
in lieu of that a gnats bug report would also be welcome so at least we know
there is a problem. (No guarantee that it will be fixed, of course.)


   --Per Bothner





Reply via email to