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


Jan Kaiser writes:
 > 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?

gcj doesn't run the preprocessor.  gcc -E should do it.

Andrew.


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