This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] apple-ppc-branch gcc/java/lang.c
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 22 Aug 2004 23:10:33 +0200
- Subject: [patch] apple-ppc-branch gcc/java/lang.c
Hi,
this hacky piece of code makes the apple-ppc-branch compile
java/libjava. I already sent results to the list.
The part below is copied from libcpp, therefore the reference to APPLE
LOCAL and Stan.
It is just meant as a hint and not thought for real inclusion.
I hope you can fix this issue.
Regards,
Andreas
Index: java/lang.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/lang.c,v
retrieving revision 1.103.2.28.4.5
diff -u -r1.103.2.28.4.5 lang.c
--- java/lang.c 18 Aug 2004 21:58:40 -0000 1.103.2.28.4.5
+++ java/lang.c 22 Aug 2004 21:06:06 -0000
@@ -785,6 +785,14 @@
int flag_next_runtime = 1;
/* APPLE LOCAL end constant cfstrings */
+/* APPLE LOCAL begin CW asm blocks -sshebs */
+/* Dummies needed because we use them from cpplib, yuck. */
+int flag_cw_asm_blocks;
+int cw_asm_state;
+int cw_asm_in_operands;
+/* APPLE LOCAL end CW asm blocks -sshebs */
+
+
/* APPLE LOCAL disable_typechecking_for_spec_flag */
int disable_typechecking_for_spec_flag = 0;