This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Preprocessing a Java Source using gcj


Hello,

I tried to use the gcj to pre-process and compile a Java source file that contains a C-style #define statement.
This does not work for me.

Is there a way to get this done?

Thanks and Regards, Jan Kaiser


// this is the source code
#define MSG "Hello World"

public class Test
{
public static void main(String[] args)
{
System.out.println(MSG);
}
}


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