config/debug/strace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:43:07 2011 +0200 (2011-07-17)
changeset 2893 a8a65758664f
parent 2733 3362c64f4b6c
child 3142 6569f6a9060c
permissions -rw-r--r--
cc/gcc: do not use the core pass-2 to build the baremetal compiler

In case we build a baremetal compiler, use the standard passes:
- core_cc is used to build the C library;
- as such, it is meant to run on build, not host;
- the final compiler is meant to run on host;

As the current final compiler step can not build a baremetal compiler,
call the core backend from the final step.

NB: Currently, newlib is built during the start_files pass, so we have
to have a core compiler by then... Once we can build the baremetal
compiler from the final cc step, then we can move the newlib build to
the proper step, and then get rid of the core pass-1 static compiler...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@239
     1
# strace
yann@239
     2
yann@2444
     3
## depends on ! BACKEND
yann@239
     4
yann@239
     5
choice
yann@239
     6
    bool
yann@239
     7
    prompt "strace version"
yann@1535
     8
# Don't remove next line
yann@1535
     9
# CT_INSERT_VERSION_BELOW
yann@239
    10
bryanhundven@2733
    11
config STRACE_V_4_6
bryanhundven@2733
    12
    bool
bryanhundven@2733
    13
    prompt "4.6 (EXPERIMENTAL)"
bryanhundven@2733
    14
    depends on EXPERIMENTAL
yann@2868
    15
    depends on CONFIGURE_has_xz
bryanhundven@2733
    16
yann@2006
    17
config STRACE_V_4_5_20
yann@2006
    18
    bool
yann@2006
    19
    prompt "4.5.20 (EXPERIMENTAL)"
yann@2006
    20
    depends on EXPERIMENTAL
yann@2006
    21
yann@1613
    22
config STRACE_V_4_5_19
yann@1613
    23
    bool
yann@1785
    24
    prompt "4.5.19"
yann@1613
    25
yann@1534
    26
config STRACE_V_4_5_18
yann@239
    27
    bool
yann@1613
    28
    prompt "4.5.18"
yann@1534
    29
yann@1534
    30
config STRACE_V_4_5_17
yann@1534
    31
    bool
yann@1615
    32
    prompt "4.5.17 (OBSOLETE)"
yann@1615
    33
    depends on OBSOLETE
yann@1534
    34
yann@1534
    35
config STRACE_V_4_5_16
yann@1534
    36
    bool
yann@1615
    37
    prompt "4.5.16 (OBSOLETE)"
yann@1615
    38
    depends on OBSOLETE
yann@1534
    39
yann@1534
    40
config STRACE_V_4_5_15
yann@1534
    41
    bool
yann@1615
    42
    prompt "4.5.15 (OBSOLETE)"
yann@1615
    43
    depends on OBSOLETE
yann@239
    44
yann@239
    45
endchoice
yann@239
    46
yann@239
    47
config STRACE_VERSION
yann@239
    48
    string
yann@1535
    49
# Don't remove next line
yann@1535
    50
# CT_INSERT_VERSION_STRING_BELOW
bryanhundven@2733
    51
    default "4.6" if STRACE_V_4_6
yann@2006
    52
    default "4.5.20" if STRACE_V_4_5_20
yann@1613
    53
    default "4.5.19" if STRACE_V_4_5_19
yann@1534
    54
    default "4.5.18" if STRACE_V_4_5_18
yann@1534
    55
    default "4.5.17" if STRACE_V_4_5_17
yann@1534
    56
    default "4.5.16" if STRACE_V_4_5_16
yann@1534
    57
    default "4.5.15" if STRACE_V_4_5_15