gcj -D

Fred Dushin fadushin@fadushin.ne.mediaone.net
Mon Oct 18 15:22:00 GMT 1999


If you're really jonesing for a preprocessor, just *use* cpp. The C
preprocessor does not need to take C course or header files as input. In fact,
it is quite agnostic as to its input.
I've used cpp (I think with the -C option, or some such), but it was a hack,
pure an simple. Not really recommended.
As to whether -D is backwards compatible with the JDK, -D is only really
meaningful for the VM. I don't think javac takes -D (or needs it, for that
matter), though you can always play the -J-D trick, I suppose. So -D is still
open for use with the compiler, is it not?
-- 
Fred Dushin mailto: fadushin@fadushin.ne.mediaone.net
 -or- mailto: fadushin@syr.edu


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /