blob: 930ea5efdb6078c68bc2cfbc89e8f250eb0d5536 (
plain)
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
# config for cross-gcc
menuconfig CROSS_GCC
bool
prompt "gcc "
select CROSS_BINUTILS
select LIBC_FIRST
select HOST_SYSTEM_GMP
select HOST_SYSTEM_MPFR
select HOST_SYSTEM_MPC
select HOST_SYSTEM_ZLIB
select HOST_SYSTEM_ISL
select CROSS_ECJ if CROSS_GCC_LANG_JAVA
if CROSS_GCC
config CROSS_GCC_VERSION
string
prompt "gcc version"
default "4.3.2"
help
Specify the version of gcc here.
config CROSS_GCC_MD5
string
prompt "gcc source md5sum"
config CROSS_GCC_DL_VERSION
string
prompt "gcc download version"
default "${PTXCONF_CROSS_GCC_VERSION}"
help
The version of the downloaded archive. For some releases
such as Linaro gcc, this can differ from CROSS_GCC_VERSION
config CROSS_GCC_PKGVERSION
string
default "${PTXCONF_PROJECT}" if CROSS_GCC_DL_VERSION = "${PTXCONF_CROSS_GCC_VERSION}"
default "${PTXCONF_PROJECT} ${PTXCONF_CROSS_GCC_DL_VERSION}" if CROSS_GCC_DL_VERSION != "${PTXCONF_CROSS_GCC_VERSION}"
config CROSS_GCC_SERIES
string
default "series"
prompt "gcc patch series file"
config CROSS_GCC_CONFIG_EXTRA
string
prompt "extra configure options"
help
Add these extra options to the gcc configure script.
config CROSS_GCC_LICENSE
string
prompt "gcc license"
config CROSS_GCC_LICENSE_FILES
string
prompt "gcc license files"
help
License file list for gcclibs. This is used to generate a makefile
snipplet that defines GCCLIBS_LICENSE/GCCLIBS_LICENSE_FILES.
config CROSS_GCC_GCCLIBS_LICENSE
string
prompt "gcclibs license"
config CROSS_GCC_GCCLIBS_LICENSES
string
prompt "gcclibs license files"
help
License file list for gcclibs. This is used to generate a makefile
snipplet that defines GCCLIBS_LICENSE/GCCLIBS_LICENSE_FILES.
comment "Additional supported languages:"
config CROSS_GCC_LANG_C
bool
default y
help
As GCC is a compiler collection, you it can support various languages
Select this for standard C support
config CROSS_GCC_LANG_CXX
bool
prompt "C++"
default y
help
As GCC is a compiler collection, it can support various languages.
Select this for C++ support
config CROSS_GCC_LANG_FORTRAN
bool
prompt "Fortran"
help
As GCC is a compiler collection, it can support various languages.
Select this for Fortran support
config CROSS_GCC_LANG_JAVA
bool
prompt "Java"
help
As GCC is a compiler collection, it can support various languages.
Select this for Java support
config CROSS_GCC_LANG_OBJC
bool
prompt "Objective-C"
help
As GCC is a compiler collection, it can support various languages.
Select this for Objective-C support
config CROSS_GCC_LANG_OBJCXX
bool
prompt "Objective-C++"
help
As GCC is a compiler collection, it can support various languages.
Select this for Objective-C++ support
source "workspace/rules/cross-ecj.in"
endif
###
### --with-newlib
###
config CROSS_GCC_CONFIG_LIBC
string
default "--with-newlib" if LIBC_NEWLIB
###
### __cxa_atexit
###
config CROSS_GCC_ENABLE_CXA_ATEXIT
bool
default !CROSS_GCC_DISABLE_CXA_ATEXIT
config CROSS_GCC_DISABLE_CXA_ATEXIT
bool
config CROSS_GCC_CONFIG_CXA_ATEXIT
string
default "--enable-__cxa_atexit" if CROSS_GCC_ENABLE_CXA_ATEXIT
default "--disable-__cxa_atexit" if CROSS_GCC_DISABLE_CXA_ATEXIT
###
### sjlj-exceptions
###
config CROSS_GCC_ENABLE_SJLJ_EXCEPTIONS
bool
config CROSS_GCC_DISABLE_SJLJ_EXCEPTIONS
bool
default !CROSS_GCC_ENABLE_SJLJ_EXCEPTIONS
config CROSS_GCC_CONFIG_SJLJ_EXCEPTIONS
string
default "--enable-sjlj-exceptions" if CROSS_GCC_ENABLE_SJLJ_EXCEPTIONS
default "--disable-sjlj-exceptions" if CROSS_GCC_DISABLE_SJLJ_EXCEPTIONS
###
### libssp
###
config CROSS_GCC_ENABLE_LIBSSP
bool
config CROSS_GCC_DISABLE_LIBSSP
bool
default !CROSS_GCC_ENABLE_LIBSSP
config CROSS_GCC_CONFIG_LIBSSP
string
default "--enable-libssp" if CROSS_GCC_ENABLE_LIBSSP
default "--disable-libssp" if CROSS_GCC_DISABLE_LIBSSP
###
### shared
###
config CROSS_GCC_ENABLE_SHARED
bool
default !CROSS_GCC_DISABLE_SHARED
config CROSS_GCC_DISABLE_SHARED
bool
config CROSS_GCC_CONFIG_SHARED
string
default "--enable-shared" if CROSS_GCC_ENABLE_SHARED
default "--disable-shared" if CROSS_GCC_DISABLE_SHARED
###
### threads
###
config CROSS_GCC_THREADS_SINGLE
bool
config CROSS_GCC_THREADS_POSIX
bool
config CROSS_GCC_THREADS_WIN32
bool
config CROSS_GCC_THREADS
string
default "posix" if CROSS_GCC_THREADS_POSIX
default "single" if CROSS_GCC_THREADS_SINGLE
default "win32" if CROSS_GCC_THREADS_WIN32
###
### first
###
config CROSS_GCC_FIRST
bool
select CROSS_BINUTILS
# without this there is no $(COMPILER_PREFIX)ld
select CROSS_ELF2FLT if UCLIBC
select LIBC_HEADERS
select HOST_SYSTEM_GMP
select HOST_SYSTEM_MPFR
select HOST_SYSTEM_MPC
select HOST_SYSTEM_ZLIB
select HOST_SYSTEM_ISL
|