config/libc/mingw.in
author Bart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:36:20 2010 +0200 (2010-07-11)
changeset 2017 f637b6c2162b
child 2444 896cb0d36c1a
permissions -rw-r--r--
kernel: add mingw

Add the option to build a cross-compiler for kernel type 'mingw'.
The resulting cross-compiler can be used to build applications on a Linux host
that can be run on a Windows target.

Compiler is build using the mingwrt and w32-api packages aviable from the
MinGW project (http://sourceforge.net/projects/mingw).

The windows headers (w32-api package) are extracting with the kernel_headers
step The libraries and other headers from both packages are build and
installed in the various steps of libc

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # mingw options
     2 # depends on MINGW32
     3 
     4 config LIBC_mingw
     5     bool
     6     select LIBC_SUPPORT_WIN32THREADS
     7     help
     8       The de-facto standard for Mingw distributions.
     9 
    10 choice
    11     bool
    12     prompt "Mingw runtime version"
    13 
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 config MINGWRT_V_3_18
    17     bool
    18     prompt "3.18"
    19 
    20 config MINGWRT_V_select
    21     bool
    22     prompt "Other version"
    23 
    24 endchoice
    25 
    26 config MINGWRT_VERSION
    27     string
    28     prompt "Mingw runtime version" if MINGWRT_V_select
    29 # Don't remove next line
    30 # CT_INSERT_VERSION_STRING_BELOW
    31     default "3.18" if MINGWRT_V_3_18
    32     help
    33       Enter the version number of the mingw runtime files to use
    34