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>
     1 # strace
     2 
     3 ## depends on ! BACKEND
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config STRACE_V_4_6
    12     bool
    13     prompt "4.6 (EXPERIMENTAL)"
    14     depends on EXPERIMENTAL
    15     depends on CONFIGURE_has_xz
    16 
    17 config STRACE_V_4_5_20
    18     bool
    19     prompt "4.5.20 (EXPERIMENTAL)"
    20     depends on EXPERIMENTAL
    21 
    22 config STRACE_V_4_5_19
    23     bool
    24     prompt "4.5.19"
    25 
    26 config STRACE_V_4_5_18
    27     bool
    28     prompt "4.5.18"
    29 
    30 config STRACE_V_4_5_17
    31     bool
    32     prompt "4.5.17 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config STRACE_V_4_5_16
    36     bool
    37     prompt "4.5.16 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config STRACE_V_4_5_15
    41     bool
    42     prompt "4.5.15 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 endchoice
    46 
    47 config STRACE_VERSION
    48     string
    49 # Don't remove next line
    50 # CT_INSERT_VERSION_STRING_BELOW
    51     default "4.6" if STRACE_V_4_6
    52     default "4.5.20" if STRACE_V_4_5_20
    53     default "4.5.19" if STRACE_V_4_5_19
    54     default "4.5.18" if STRACE_V_4_5_18
    55     default "4.5.17" if STRACE_V_4_5_17
    56     default "4.5.16" if STRACE_V_4_5_16
    57     default "4.5.15" if STRACE_V_4_5_15