config/companion_libs/mpfr.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 2436 c3e0c65b7b93
child 2957 3e2f2100a76d
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@466
     1
# GMP options
yann@466
     2
yann@466
     3
choice
yann@466
     4
    bool
yann@466
     5
    prompt "MPFR version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@466
     8
yann@2756
     9
config MPFR_V_3_1_0
yann@2756
    10
    bool
yann@2756
    11
    prompt "3.1.0 (EXPERIMENTAL)"
yann@2756
    12
    depends on EXPERIMENTAL
yann@2756
    13
yann@2436
    14
config MPFR_V_3_0_1
yann@2436
    15
    bool
yann@2436
    16
    prompt "3.0.1 (EXPERIMENTAL)"
yann@2436
    17
    depends on EXPERIMENTAL
yann@2436
    18
yann@1978
    19
config MPFR_V_3_0_0
yann@1978
    20
    bool
yann@1978
    21
    prompt "3.0.0"
yann@1978
    22
yann@1696
    23
config MPFR_V_2_4_2
yann@1696
    24
    bool
yann@1784
    25
    prompt "2.4.2"
yann@1696
    26
yann@1534
    27
config MPFR_V_2_4_1
yann@466
    28
    bool
yann@1534
    29
    prompt "2.4.1"
yann@1534
    30
yann@1534
    31
config MPFR_V_2_4_0
yann@1534
    32
    bool
yann@1534
    33
    prompt "2.4.0"
yann@466
    34
yann@902
    35
config MPFR_V_2_3_2
yann@902
    36
    bool
yann@1615
    37
    prompt "2.3.2 (OBSOLETE)"
yann@1615
    38
    depends on OBSOLETE
yann@902
    39
yann@1534
    40
config MPFR_V_2_3_1
yann@1199
    41
    bool
yann@1615
    42
    prompt "2.3.1 (OBSOLETE)"
yann@1615
    43
    depends on OBSOLETE
yann@1199
    44
yann@466
    45
endchoice
yann@466
    46
yann@466
    47
config MPFR_VERSION
yann@466
    48
    string
yann@1535
    49
# Don't remove next line
yann@1535
    50
# CT_INSERT_VERSION_STRING_BELOW
yann@2756
    51
    default "3.1.0" if MPFR_V_3_1_0
yann@2436
    52
    default "3.0.1" if MPFR_V_3_0_1
yann@1978
    53
    default "3.0.0" if MPFR_V_3_0_0
yann@1696
    54
    default "2.4.2" if MPFR_V_2_4_2
yann@1534
    55
    default "2.4.1" if MPFR_V_2_4_1
yann@1534
    56
    default "2.4.0" if MPFR_V_2_4_0
yann@1534
    57
    default "2.3.2" if MPFR_V_2_3_2
yann@466
    58
    default "2.3.1" if MPFR_V_2_3_1