config/companion_libs/cloog.in
author Remy Bohmer <linux@bohmer.net>
Fri Apr 09 21:04:37 2010 +0200 (2010-04-09)
changeset 1926 e6a9a4f36645
parent 1615 50b25816f5bb
child 2157 715544fc2fe9
permissions -rw-r--r--
cc/gcc: use proper host compiler for canadian bare-metal

While compiling a canadian toolchain for host=mingw32, build=linux,
target=m68k-elf the build fails because in this step of the gcc build
the Host compiler is used in this stage with the build-flags for the
build system. This results in an error where the header <sys/wait.h>
cannot be found.
This problem happens at least in the GCC-4.3.x and GCC-4.4.x range.

This is solved by passing the proper compilers on the Make cmd-line

Signed-off-by: Remy Bohmer <linux@bohmer.net>
yann@1380
     1
# CLooG options
yann@1380
     2
yann@1380
     3
choice
yann@1380
     4
    bool
yann@1380
     5
    prompt "CLooG/ppl version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1380
     8
yann@1873
     9
config CLOOG_V_0_15_9
yann@1873
    10
    bool
yann@1873
    11
    prompt "0.15.9"
yann@1873
    12
yann@1873
    13
config CLOOG_V_0_15_8
yann@1873
    14
    bool
yann@1873
    15
    prompt "0.15.8"
yann@1873
    16
yann@1534
    17
config CLOOG_V_0_15_7
yann@1380
    18
    bool
yann@1534
    19
    prompt "0.15.7"
yann@1534
    20
yann@1534
    21
config CLOOG_V_0_15_6
yann@1534
    22
    bool
yann@1534
    23
    prompt "0.15.6"
yann@1534
    24
yann@1534
    25
config CLOOG_V_0_15_5
yann@1534
    26
    bool
yann@1615
    27
    prompt "0.15.5 (OBSOLETE)"
yann@1615
    28
    depends on OBSOLETE
yann@1380
    29
yann@1522
    30
config CLOOG_V_0_15_4
yann@1522
    31
    bool
yann@1615
    32
    prompt "0.15.4 (OBSOLETE)"
yann@1615
    33
    depends on OBSOLETE
yann@1522
    34
yann@1534
    35
config CLOOG_V_0_15_3
yann@1522
    36
    bool
yann@1615
    37
    prompt "0.15.3 (OBSOLETE)"
yann@1615
    38
    depends on OBSOLETE
yann@1522
    39
yann@1380
    40
endchoice
yann@1380
    41
yann@1380
    42
config CLOOG_VERSION
yann@1380
    43
    string
yann@1535
    44
# Don't remove next line
yann@1535
    45
# CT_INSERT_VERSION_STRING_BELOW
yann@1873
    46
    default "0.15.9" if CLOOG_V_0_15_9
yann@1873
    47
    default "0.15.8" if CLOOG_V_0_15_8
yann@1534
    48
    default "0.15.7" if CLOOG_V_0_15_7
yann@1534
    49
    default "0.15.6" if CLOOG_V_0_15_6
yann@1534
    50
    default "0.15.5" if CLOOG_V_0_15_5
yann@1534
    51
    default "0.15.4" if CLOOG_V_0_15_4
yann@1380
    52
    default "0.15.3" if CLOOG_V_0_15_3