config/libc/mingw.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 03 22:57:25 2012 +0100 (2012-01-03)
changeset 2936 2dfea349d307
parent 2018 860de6018501
permissions -rw-r--r--
cc/gcc: build core compilers for canadian

Currently, we rely on an existing external cross-compiler targetting
the target, to build the C library.

This can pause quite a few problems if that compiler is different from
the one we are building, because it could introduce some ABI issues.

This patch removes this dependency, by building the core compilers
as we do for standard cross, and also by building the binutils and
gcc, for running on the build machine.

This means we no longer need to offer the cross-sompiler selection in
the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Part-2 of mingw C library options: development libraries
     2 
     3 config MINGW_DIRECTX
     4     bool
     5     prompt "Include DirectX development files"
     6 
     7 config MINGW_OPENGL
     8     bool
     9     prompt "Include OpenGL development files"
    10 
    11 config MINGW_PDCURSES
    12     bool
    13     prompt "Include PDCurses (NCurses library) development files"
    14 
    15 choice
    16     bool
    17     prompt "PDCurses library version"
    18     depends on MINGW_PDCURSES
    19 
    20 config MINGW_PDCURSES_V_3_4
    21     bool
    22     prompt "3.4"
    23 
    24 # CT_INSERT_VERSION_ABOVE
    25 # Don't remove above line!
    26 
    27 config MINGW_PDCURSES_V_select
    28     bool
    29     prompt "Other version"
    30 
    31 endchoice
    32 
    33 config MINGW_PDCURSES_VERSION
    34     string
    35     prompt "PDCurses library version" if MINGW_PDCURSES_V_select
    36     default "3.4" if MINGW_PDCURSES_V_3_4
    37 # CT_INSERT_VERSION_STRING_ABOVE
    38 # Don't remove above line!
    39     help
    40       Enter the version number of the PDCurses library to use
    41 
    42 config MINGW_GNURX
    43     bool
    44     prompt "Include GnuRX (regex library) development files"
    45 
    46 choice
    47     bool
    48     prompt "GnuRX library version"
    49     depends on MINGW_GNURX
    50 
    51 config MINGW_GNURX_V_2_5_1
    52     bool
    53     prompt "2.5.1"
    54 
    55 # CT_INSERT_VERSION_ABOVE
    56 # Don't remove above line!
    57 
    58 config MINGW_GNURX_V_select
    59     bool
    60     prompt "Other version"
    61 
    62 endchoice
    63 
    64 config MINGW_GNURX_VERSION
    65     string
    66     prompt "GnuRX library version" if MINGW_GNURX_V_select
    67     default "2.5.1" if MINGW_GNURX_V_2_5_1
    68 # CT_INSERT_VERSION_STRING_ABOVE
    69 # Don't remove above line!
    70     help
    71       Enter the version number of the Regex library to use
    72