This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Preprocessing a Java Source using gcj
- From: Jan Kaiser <j dot b dot kaiser at web dot de>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 02 Jan 2003 18:28:12 +0100
- Subject: 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);
}
}