Add the Eclipse Java Compiler to be able to compile Java.
Andy JOHNSON wrote:
The Java compiler for GCC versions 4.3.0 and up requires the
Eclipse compiler "ecj1" to be built as well. I added "gcj" to
the list of utilities to make the initial link.
/trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/config/cc/gcc.in | 6 6 0 0 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)
1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/63_all_gcc43-pr35705.patch
2 http://gcc.gnu.org/PR35705
4 2008-04-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7 * fold-const.c (get_pointer_modulus_and_residue): Return modulus 1 if
8 the expression is a function address.
10 diff -durN gcc-4.3.0.orig/gcc/fold-const.c gcc-4.3.0/gcc/fold-const.c
11 --- gcc-4.3.0.orig/gcc/fold-const.c 2008-02-27 15:12:33.000000000 +0100
12 +++ gcc-4.3.0/gcc/fold-const.c 2008-06-10 14:45:09.000000000 +0200
18 + if (DECL_P (expr) && TREE_CODE (expr) != FUNCTION_DECL)
19 return DECL_ALIGN_UNIT (expr);
21 else if (code == POINTER_PLUS_EXPR)