forked from picolibc/picolibc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
151 lines (141 loc) · 8.16 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Copyright © 2019 Keith Packard
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#
option('fast-strcmp', type: 'boolean', value: true,
description: 'Always optimize strcmp for performance')
option('multilib', type: 'boolean', value: true,
description: 'Enable multilib compile')
option('multilib-list', type: 'array', value: [],
description: 'List of multilib configurations to build for')
option('picolib', type: 'boolean', value: true,
description: 'Include pico lib bits')
option('sysroot-install', type: 'boolean', value: false,
description: 'Install in gcc sysroot')
option('have-alias-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
description: 'Compiler supports __alias__ attribute')
option('tests', type: 'boolean', value: false,
description: 'Enable tests')
option('native-tests', type: 'boolean', value: false,
description: 'Run math tests against native libc too')
option('newlib-tinystdio', type: 'boolean', value: true,
description: 'Use tiny stdio from avr libc')
option('newlib-stdio64', type: 'boolean', value: true,
description: 'Include stdio64 with newlib stdio')
option('specsdir', type: 'string',
description: 'Installation directory for .specs file')
option('newlib-io-pos-args', type: 'boolean', value: false,
description: 'enable printf-family positional arg support')
option('io-c99-formats', type: 'boolean', value: true,
description: 'enable C99 support in IO functions like printf/scanf')
option('newlib-io-c99-formats', type: 'boolean', value: false,
description: 'enable C99 support in IO functions like printf/scanf (newlib stdio only)')
option('io-long-long', type: 'boolean', value: false,
description: 'enable long long type support in IO functions like printf/scanf')
option('newlib-io-long-long', type: 'boolean', value: false,
description: 'enable long long type support in IO functions like printf/scanf')
option('newlib-io-long-double', type: 'boolean', value: false,
description: 'enable long double type support in IO functions printf/scanf (newlib stdio only)')
option('newlib-register-fini', type: 'boolean', value: false,
description: 'enable finalization function registration using atexit')
option('newlib-mb', type: 'boolean', value: false,
description: 'enable multibyte support')
option('newlib-iconv-encodings', type: 'boolean', value: false,
description: 'enable specific comma-separated list of bidirectional iconv encodings to be built-in')
option('newlib-iconv-from-encodings', type: 'boolean', value: false,
description: 'enable specific comma-separated list of "from" iconv encodings to be built-in')
option('newlib-iconv-to-encodings', type: 'boolean', value: false,
description: 'enable specific comma-separated list of "to" iconv encodings to be built-in')
option('newlib-iconv-external-ccs', type: 'boolean', value: false,
description: 'enable capabilities to load external CCS files for iconv')
option('newlib-atexit-dynamic-alloc', type: 'boolean', value: false,
description: 'enable dynamic allocation of atexit entries')
option('newlib-global-atexit', type: 'boolean', value: false,
description: 'enable atexit data structure as global')
option('newlib-reent-small', type: 'boolean', value: false,
description: 'enable small reentrant struct support')
option('newlib-global-stdio-streams', type: 'boolean', value: false,
description: 'enable global stdio streams')
option('newlib-fvwrite-in-streamio', type: 'boolean', value: false,
description: 'disable iov in streamio')
option('newlib-fseek-optimization', type: 'boolean', value: false,
description: 'enable fseek optimization')
option('newlib-wide-orient', type: 'boolean', value: false,
description: 'Turn off wide orientation in streamio')
option('newlib-nano-malloc', type: 'boolean', value: true,
description: 'use small-footprint nano-malloc implementation')
option('newlib-unbuf-stream-opt', type: 'boolean', value: false,
description: 'enable unbuffered stream optimization in streamio')
option('lite-exit', type: 'boolean', value: true,
description: 'enable light weight exit')
option('newlib-nano-formatted-io', type: 'boolean', value: false,
description: 'Use nano version formatted IO')
option('newlib-retargetable-locking', type: 'boolean', value: false,
description: 'Allow locking routines to be retargeted at link time')
option('newlib-long-time_t', type: 'boolean', value: false,
description: 'define time_t to long')
option('newlib-multithread', type: 'boolean', value: false,
description: 'enable support for multiple threads')
option('newlib-iconv', type: 'boolean', value: false,
description: 'enable iconv library support')
option('newlib-io-float', type: 'boolean', value: false,
description: 'enable printf/scanf family float support')
option('newlib-supplied-syscalls', type: 'boolean', value: false,
description: 'enable newlib supplied syscalls')
option('newlib-elix-level', type: 'integer', value: 0,
description: 'desired elix library level (0-4)')
option('newlib-reentrant-syscalls-provided', type: 'boolean', value: false,
description: 'system provides reentrant syscall API')
option('newlib-missing-syscall-names', type: 'boolean', value: false,
description: 'system only provides regular syscall API')
option('newlib-locale-info', type: 'boolean', value: false,
description: 'locale support')
option('newlib-locale-info-extended', type: 'boolean', value: false,
description: 'extended locale support')
option('newlib-global-errno', type: 'boolean', value: false,
description: 'use global errno variable')
option('newlib-initfini-array', type: 'boolean', value: true,
description: 'compiler supports INIT_ARRAY section types')
option('newlib-initfini', type: 'boolean', value: true,
description: 'Supports _init() and _fini()')
option('thread-local-storage', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
description: 'use thread local storage for static data (default: automatically detect support)')
option('tls-model', type: 'string', value: 'local-exec',
description: 'tls model (global-dynamic, local-dynamic, initial-exec or local-exec)')
option('posix-io', type: 'boolean', value: true,
description: 'Provide fopen/fdopen using POSIX I/O (open, close, read, write, lseek)')
option('posix-console', type: 'boolean', value: false,
description: 'Use POSIX I/O for stdin/stdout/stderr')
option('newlib-obsolete-math', type: 'combo', choices: ['true', 'false', 'auto'],
value: 'auto',
description: 'Use obsolete math routines (default: automatic based on platform)')