patches/ppl/0.11/100-fix-java-test-vs-enabled-shared.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:46:47 2011 +0200 (2011-07-17)
changeset 2892 aa934ec4b4ee
permissions -rw-r--r--
cc/gcc: add the backend/frontend infra for final gcc

Currently, we issue the bare-metal compiler from the pass_1 & pass_2
core compilers, because the final gcc breaks while doing so.

This implies we have to build some libces during the start_files step,
instead of the standard libc step. This is the case for newlib.

By adding a backend/frontend infra to the final gcc, we can abstract
what backend to call: the standard backend for non-bare-metal gcc,
and the core backend for bare-metal.

This patch is just an no-op, it just adds the final backend and
frontend without changing the way bare-metal is built, to come in a
subsequent patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
anthony@2462
     1
commit 25bb77587944768581225d1c0048facab32cf019
anthony@2462
     2
Author: Roberto Bagnara <bagnara@cs.unipr.it>
anthony@2462
     3
Date:   Wed May 18 09:35:36 2011 +0200
anthony@2462
     4
anthony@2462
     5
    Moved misplaced conditional.
anthony@2462
     6
anthony@2462
     7
diff --git a/interfaces/Java/tests/Makefile.am b/interfaces/Java/tests/Makefile.am
anthony@2462
     8
index 64ba864..607bbc6 100644
anthony@2462
     9
--- a/interfaces/Java/tests/Makefile.am
anthony@2462
    10
+++ b/interfaces/Java/tests/Makefile.am
anthony@2462
    11
@@ -51,6 +51,8 @@ Parma_Polyhedra_Library_test2.java \
anthony@2462
    12
 PPL_Test.java \
anthony@2462
    13
 ppl_java_tests_common
anthony@2462
    14
 
anthony@2462
    15
+if ENABLE_SHARED
anthony@2462
    16
+
anthony@2462
    17
 check_JAVA = \
anthony@2462
    18
 ppl_java_generated_tests.java \
anthony@2462
    19
 Test_Executor.java \
anthony@2462
    20
@@ -62,8 +64,6 @@ Parma_Polyhedra_Library_test1.java \
anthony@2462
    21
 Parma_Polyhedra_Library_test2.java \
anthony@2462
    22
 PPL_Test.java
anthony@2462
    23
 
anthony@2462
    24
-if ENABLE_SHARED
anthony@2462
    25
-
anthony@2462
    26
 CLASSPATH = ../ppl_java.jar:.
anthony@2462
    27
 JAVACFLAGS = -classpath $(CLASSPATH)
anthony@2462
    28