-R gcc option?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Apr 11 23:54:00 GMT 2002


Anthony Green wrote:

>I don't think I agree about -D.  I don't see how it can conflict with
>the C/C++ version of -D.
>

The problem is that there is no way to set a preprocessor define if you 
want to compile a C++ file with gcj,  eg:

gcj Foo.java natFoo.cc -DFOO

Of course, this is possible to work around by invoking c++ separately.

regards

Bryce.




More information about the Java mailing list