-D ?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Tue Apr 23 16:59:00 GMT 2002


Tom Tromey wrote:

>gcj should only be used for compiling Java
>code (either .java, .class, or resource files with --resource).
>

Why? It might not be a good idea to compile JNI code with gcj, but it 
can be very useful to use gcj to compile and link C/C++ code into a 
mixed Java/C++ application. But, it is unfortunate that the -D flag 
means different things to Java and C code.

regards

Bryce.




More information about the Java mailing list