config/libc/eglibc.in
author Bernhard Walle <bernhard@bwalle.de>
Sun May 11 13:00:36 2014 +0200 (2014-05-11)
changeset 3318 579bc9107f99
parent 3251 ec603d1371b9
permissions -rw-r--r--
complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9

From: Roberto Bagnara <bagnara@cs.unipr.it>
Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200)
Subject: Added missing inclusions. Use std::ptrdiff_t.
X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c

Added missing inclusions. Use std::ptrdiff_t.
(Thanks to Paulo Cesar Pereira de Andrade.)

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box>
Patchwork-Id: 347777
     1 # eglibc options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
     4 ##
     5 ## select LIBC_SUPPORT_NPTL
     6 ## select CC_CORE_PASSES_NEEDED
     7 ##
     8 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
     9 ## help that is designed to work well on embedded systems.  EGLIBC strives
    10 ## help to be source and binary compatible with GLIBC.  Its goals include
    11 ## help a reduced footprint, configurable components, and improved
    12 ## help cross-compilation support.  EGLIBC also includes some embedded ports
    13 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
    14 
    15 choice
    16     bool
    17     prompt "eglibc version"
    18 # Don't remove next line
    19 # CT_INSERT_VERSION_BELOW
    20 
    21 config LIBC_EGLIBC_V_2_18
    22     bool
    23     prompt "2_18"
    24     select LIBC_EGLIBC_2_16_or_later
    25 
    26 config LIBC_EGLIBC_V_2_17
    27     bool
    28     prompt "2_17"
    29     select LIBC_EGLIBC_2_16_or_later
    30 
    31 config LIBC_EGLIBC_V_2_16
    32     bool
    33     prompt "2_16"
    34     select LIBC_GLIBC_PORTS_EXTERNAL
    35     select LIBC_EGLIBC_2_16_or_later
    36 
    37 config LIBC_EGLIBC_V_2_15
    38     bool
    39     prompt "2_15"
    40     select LIBC_GLIBC_PORTS_EXTERNAL
    41 
    42 config LIBC_EGLIBC_V_2_14
    43     bool
    44     prompt "2_14"
    45     select LIBC_GLIBC_PORTS_EXTERNAL
    46 
    47 config LIBC_EGLIBC_V_2_13
    48     bool
    49     prompt "2_13"
    50     select LIBC_GLIBC_PORTS_EXTERNAL
    51 
    52 config LIBC_EGLIBC_V_2_12
    53     bool
    54     prompt "2_12"
    55     select LIBC_GLIBC_PORTS_EXTERNAL
    56 
    57 config LIBC_EGLIBC_V_2_11
    58     bool
    59     prompt "2_11"
    60     select LIBC_GLIBC_PORTS_EXTERNAL
    61 
    62 config LIBC_EGLIBC_V_2_10
    63     bool
    64     prompt "2_10"
    65     select LIBC_GLIBC_PORTS_EXTERNAL
    66 
    67 config LIBC_EGLIBC_V_2_9
    68     bool
    69     prompt "2_9"
    70     select LIBC_GLIBC_PORTS_EXTERNAL
    71 
    72 config LIBC_EGLIBC_V_TRUNK
    73     bool
    74     prompt "'trunk'"
    75     select LIBC_EGLIBC_2_16_or_later
    76     help
    77       Selecting this will export the trunk of the eglibc subversion repository.
    78 
    79 endchoice
    80 
    81 config LIBC_VERSION
    82     string
    83 # Don't remove next line
    84 # CT_INSERT_VERSION_STRING_BELOW
    85     default "2_18" if LIBC_EGLIBC_V_2_18
    86     default "2_17" if LIBC_EGLIBC_V_2_17
    87     default "2_16" if LIBC_EGLIBC_V_2_16
    88     default "2_15" if LIBC_EGLIBC_V_2_15
    89     default "2_14" if LIBC_EGLIBC_V_2_14
    90     default "2_13" if LIBC_EGLIBC_V_2_13
    91     default "2_12" if LIBC_EGLIBC_V_2_12
    92     default "2_11" if LIBC_EGLIBC_V_2_11
    93     default "2_10" if LIBC_EGLIBC_V_2_10
    94     default "2_9" if LIBC_EGLIBC_V_2_9
    95     default "trunk" if LIBC_EGLIBC_V_TRUNK
    96 
    97 config LIBC_EGLIBC_2_16_or_later
    98     bool
    99 
   100 if CONFIGURE_has_svn
   101 
   102 config EGLIBC_REVISION
   103     string
   104     prompt "Revision to use"
   105     default "HEAD"
   106     help
   107       Enter the revision of trunk you want to use.
   108       Default is HEAD.
   109       
   110       A revision argument can be one of:
   111           NUMBER       revision number
   112           '{' DATE '}' revision at start of the date (*)
   113           'HEAD'       latest in repository
   114       
   115       (*) If you want to use a date, please use ISO-8601 formats if
   116           at all possible.
   117 
   118 config EGLIBC_HTTP
   119     bool
   120     prompt "use http:// instead of svn://"
   121     help
   122       By default, when eglibc is downloaded it is checked out using
   123       svn://svn.eglibc.org. This option allows you to download eglibc
   124       from http://www.eglibc.org, if you are behind a proxy or firewall.
   125       If you are behind a proxy, don't forget to update your
   126       .subversion/servers file with your proxy info in [global].
   127 
   128 config EGLIBC_CHECKOUT
   129     bool
   130     prompt "checkout instead of export"
   131     default y if LIBC_EGLIBC_V_TRUNK
   132     help
   133       By default, the eglibc download will be an export of the subversion
   134       repository. If you say 'y' here, then the repository will instead be
   135       checked-out, so that you can update it later.
   136       
   137       Note that crosstool-NG will *not* update your working copy, you will
   138       have to do that yourself.
   139 
   140 endif # ! CONFIGURE_has_svn
   141 if ! CONFIGURE_has_svn
   142 
   143 comment "svn is missing. You'll have to either:"
   144 comment "|  - have a pre-downloaded local tarball"
   145 comment "|  - or have a LAN mirror with a pre-downloaded tarball"
   146 comment "otherwise you won't be able to download eglibc"
   147 
   148 endif # ! CONFIGURE_has_svn
   149 
   150 config EGLIBC_OPT_SIZE
   151     bool
   152     prompt "optimize eglibc for size (-Os)"
   153     help
   154       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   155       smaller but may make it slower.
   156 
   157 config EGLIBC_CUSTOM_CONFIG
   158     bool
   159     prompt "Use custom configuration file"
   160     help
   161       Use a custom configuration file to disable some features in the eglibc
   162       library. The configuration file options are described in detail in the
   163       option-groups.def file in the eglibc source directory.
   164 
   165 if EGLIBC_CUSTOM_CONFIG
   166     config EGLIBC_OPTION_GROUPS_FILE
   167         string
   168         prompt "Path to the option-groups configuration file"
   169         default ""
   170         help
   171           Path to the option groups configuration file.
   172 
   173     config EGLIBC_BUNDLED_NSS_CONFIG
   174         bool
   175         prompt "Use bundled NSS config file"
   176         default y
   177         help
   178           Use minimal nsswitch configuration file bundled in eglibc.
   179           This option is only meaningful when runtime nss configuration
   180           is disabled in the option groups file.
   181 
   182     config EGLIBC_NSS_CONFIG_FILE
   183         string
   184         prompt "Path to the NSS config file"
   185         default ""
   186         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   187         help
   188           Path to the nsswitch configuration file
   189 
   190     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   191         bool
   192         prompt "Use bundled NSS functions file"
   193         default y
   194         help
   195           Use minimal nsswitch functions file bundled in eglibc.
   196           This option is only meaningful when runtime nss configuration
   197           is disabled in the option groups file.
   198 
   199     config EGLIBC_NSS_FUNCTIONS_FILE
   200         string
   201         prompt "Path to the NSS functions file"
   202         default ""
   203         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   204         help
   205           Path to the nsswitch functions file
   206 endif