config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 05 13:27:09 2008 +0000 (2008-08-05)
changeset 760 80098c869f5e
parent 448 08da017ba46b
child 808 0949a87e1629
permissions -rw-r--r--
Mark "ADA", "ObjC", "ObjC++" and "other languages" as being EXPERIMENTAL.

/trunk/config/cc.in | 12 8 4 0 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
     1 # glibc options
     2 
     3 choice
     4     bool
     5     prompt "glibc version"
     6 
     7 config LIBC_V_LATEST
     8     bool
     9     prompt "'latest' snapshot (EXPERIMENTAL)"
    10     depends on EXPERIMENTAL
    11 
    12 config LIBC_V_date
    13     bool
    14     prompt "<specific date> (EXPERIMENTAL)"
    15     depends on EXPERIMENTAL
    16 
    17 config LIBC_V_2_3_6
    18     bool
    19     prompt "2.3.6 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config LIBC_V_2_5
    23     bool
    24     prompt "2.5"
    25 
    26 config LIBC_V_2_5_1
    27     bool
    28     prompt "2.5.1"
    29 
    30 config LIBC_V_2_6
    31     bool
    32     prompt "2.6"
    33 
    34 config LIBC_V_2_6_1
    35     bool
    36     prompt "2.6.1"
    37 
    38 config LIBC_V_2_7
    39     bool
    40     prompt "2.7"
    41     depends on EXPERIMENTAL
    42 
    43 # CT_INSERT_VERSION_ABOVE
    44 # Don't remove above line!
    45 endchoice
    46 
    47 config LIBC_VERSION
    48     string
    49     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    50     default "latest" if LIBC_V_LATEST
    51     default "2.3.6" if LIBC_V_2_3_6
    52     default "2.4" if LIBC_V_2_4
    53     default "2.5" if LIBC_V_2_5
    54     default "2.5.1" if LIBC_V_2_5_1
    55     default "2.6" if LIBC_V_2_6
    56     default "2.6.1" if LIBC_V_2_6_1
    57     default "2.7" if LIBC_V_2_7
    58 # CT_INSERT_VERSION_STRING_ABOVE
    59 # Don't remove above line!
    60 
    61 config LIBC_GLIBC_EXTRA_CONFIG
    62     string
    63     prompt "glibc extra config"
    64     default ""
    65     help
    66       Extra flags to pass onto ./configure when configuring glibc.
    67 
    68       Eg.: --enable-static-nss
    69 
    70 config LIBC_GLIBC_EXTRA_CFLAGS
    71     string
    72     prompt "glibc extra target CFLAGS"
    73     default ""
    74     help
    75       Extra target CFLAGS to use when building glibc.
    76 
    77 config LIBC_EXTRA_CC_ARGS
    78     string
    79     prompt "gcc extra flags"
    80     default ""
    81     help
    82       Extra flags to pass gcc when building glibc.
    83 
    84       Seldom used, except for sparc64 which seems to need the flag -64
    85       to be passed onto gcc.
    86 
    87 # Please note: This is not used for now (no sh support).
    88 config LIBC_GLIBC_CONFIGPARMS
    89     string
    90     prompt "Extra config params (READ HELP)"
    91     default "" if ARCH != "sh3" && ARCH != "sh4"
    92     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
    93     help
    94       Some architectures need to set options in the file configparms.
    95       This is the case for sh3/4, which really need to set configparms as of
    96       gcc-3.4/glibc-2.3.2.
    97 
    98       Unless you are building a toolchain for sh3/4, you should leave that empty.
    99 
   100       Note: this is awkward, doesn't work well if you need more than one
   101             line in configparms
   102 
   103 config LIBC_GLIBC_USE_PORTS
   104     bool
   105     prompt "Use the ports addon"
   106     default n
   107     help
   108       The ports addon contains some architecture ports that are not available
   109       in the official glibc distribution.
   110       
   111       For example, this is the case for ARM with glibc >= 2.4
   112       
   113       Say n only if you're sure that your architecture is in the official
   114       glibc distribution for your chosen version.
   115 
   116 config LIBC_ADDONS
   117     bool
   118     prompt "Pass extra addons list"
   119     default n
   120     help
   121       If you say Y here, you'll be able to give the list of addons you want to
   122       include in your C library.
   123 
   124 config LIBC_ADDONS_LIST
   125     string
   126     prompt "Extra addons"
   127     default ""
   128     depends on LIBC_ADDONS
   129     help
   130       Extra addons to include in glibc. Space separated list.
   131 
   132       You need to specify neither linuxthreads nor nptl, as they are added
   133       automagically for you depending on the threading model you choosed
   134       earlier.
   135       
   136       Eg.: crypt        (for very old glibces)