This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: -R gcc option?


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]