summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/binutils/binutils.in37
-rw-r--r--config/cc/gcc.in26
-rw-r--r--config/companion_libs.in8
-rw-r--r--config/companion_libs/cloog.in9
-rw-r--r--config/companion_libs/expat.in11
-rw-r--r--config/companion_libs/gmp.in6
-rw-r--r--config/companion_libs/isl.in52
-rw-r--r--config/companion_libs/mpfr.in5
-rw-r--r--config/debug/gdb.in68
-rw-r--r--config/debug/gdb.in.native1
-rw-r--r--config/debug/strace.in57
-rw-r--r--config/libc/mingw.in39
-rw-r--r--config/libc/musl.in12
-rw-r--r--config/libc/newlib.in37
-rw-r--r--config/libc/newlib.in.2104
-rw-r--r--config/libc/uClibc.in7
-rw-r--r--config/toolchain.in4
17 files changed, 407 insertions, 76 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index 91b5e9f..07d4a90 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -37,21 +37,21 @@ endif # BINUTILS_CUSTOM
if ! BINUTILS_CUSTOM
-config CC_BINUTILS_SHOW_LINARO
+config BINUTILS_SHOW_LINARO
bool
prompt "Show Linaro versions"
help
Linaro is maintaining some advanced/more stable/experimental versions
of binutils, especially for the ARM architecture.
-
+
Those versions have not been blessed by the binutils comunity (nor have they
been cursed either!), but they look to be pretty much stable, and even
more stable than the upstream versions. YMMV...
-
+
If you do not know what this Linaro stuff is, then simply say 'n' here,
and rest in peace. OTOH, if you know what you are doing, you will be
able to use and enjoy :-) the Linaro versions by saying 'y' here.
-
+
Linaro: http://www.linaro.org/
choice
@@ -60,6 +60,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config BINUTILS_V_2_27
+ bool
+ prompt "2.27"
+ select BINUTILS_2_27_or_later
+
config BINUTILS_V_2_26
bool
prompt "2.26"
@@ -74,19 +79,25 @@ config BINUTILS_LINARO_V_2_25
bool
prompt "linaro-2.25.0-2015.01-2"
select BINUTILS_2_25_or_later
- depends on CC_BINUTILS_SHOW_LINARO
+ depends on BINUTILS_SHOW_LINARO
config BINUTILS_LINARO_V_2_24
bool
prompt "linaro-2.24.0-2014.11-2"
select BINUTILS_2_24_or_later
- depends on CC_BINUTILS_SHOW_LINARO
+ depends on BINUTILS_SHOW_LINARO
config BINUTILS_V_2_24
bool
prompt "2.24"
select BINUTILS_2_24_or_later
+config BINUTILS_LINARO_V_2_23_2
+ bool
+ prompt "linaro-2.23.2-2013.10-4"
+ select BINUTILS_2_23_2_or_later
+ depends on BINUTILS_SHOW_LINARO
+
config BINUTILS_V_2_23_2
bool
prompt "2.23.2"
@@ -98,15 +109,21 @@ config BINUTILS_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "2.27" if BINUTILS_V_2_27
default "2.26" if BINUTILS_V_2_26
default "2.25.1" if BINUTILS_V_2_25_1
default "linaro-2.25.0-2015.01-2" if BINUTILS_LINARO_V_2_25
default "linaro-2.24.0-2014.11-2" if BINUTILS_LINARO_V_2_24
default "2.24" if BINUTILS_V_2_24
+ default "linaro-2.23.2-2013.10-4" if BINUTILS_LINARO_V_2_23_2
default "2.23.2" if BINUTILS_V_2_23_2
endif # ! BINUTILS_CUSTOM
+config BINUTILS_2_27_or_later
+ bool
+ select BINUTILS_2_26_or_later
+
config BINUTILS_2_26_or_later
bool
select BINUTILS_2_25_1_or_later
@@ -192,7 +209,7 @@ config BINUTILS_LINKER_LD_GOLD
help
Both the historical ld and the new gold linkers will be
installed, with ld being the default linker used.
-
+
See help for gold, above.
config BINUTILS_LINKER_GOLD_LD
@@ -205,7 +222,7 @@ config BINUTILS_LINKER_GOLD_LD
help
Both the historical ld and the new gold linkers will be
installed, with gold being the default linker used.
-
+
See help for gold, above.
endchoice # Enable linkers
@@ -242,7 +259,7 @@ config BINUTILS_LD_WRAPPER
depends on BINUTILS_LINKER_BOTH
help
Add an ld wrapper that calls to either gold or ld.
-
+
By default, the wrapper will call to the default wrapper,
but if you set the environment variable CTNG_LD_IS, you
can change which linker will get called:
@@ -270,7 +287,7 @@ config BINUTILS_EXTRA_CONFIG_ARRAY
default ""
help
Extra flags passed onto ./configure when configuring
-
+
You can enter multiple arguments here, and arguments can contain spaces
if they are properly quoted (or escaped, but prefer quotes). Eg.:
--with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 691355a..e0c4875 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -1,7 +1,7 @@
# Compiler options
#
## default y
-## select CC_SUPPORT_CXX
+## select CC_SUPPORT_CXX if !LIBC_none
## select CC_SUPPORT_FORTRAN
## select CC_SUPPORT_JAVA
## select CC_SUPPORT_ADA
@@ -71,9 +71,16 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
-config CC_GCC_V_6_2_0
+
+config CC_GCC_V_6_3_0
bool
- prompt "6.2.0"
+ prompt "6.3.0"
+ select CC_GCC_6
+
+config CC_GCC_V_linaro_6_2
+ bool
+ prompt "linaro-6.2-2016.11"
+ depends on CC_GCC_SHOW_LINARO
select CC_GCC_6
config CC_GCC_V_5_4_0
@@ -81,15 +88,15 @@ config CC_GCC_V_5_4_0
prompt "5.4.0"
select CC_GCC_5
-config CC_GCC_V_linaro_5_2
+config CC_GCC_V_linaro_5_3
bool
- prompt "linaro-5.2-2015.11-2"
+ prompt "linaro-5.3-2016.05"
depends on CC_GCC_SHOW_LINARO
select CC_GCC_5
config CC_GCC_V_linaro_4_9
bool
- prompt "linaro-4.9-2015.06"
+ prompt "linaro-4.9-2016.02"
depends on CC_GCC_SHOW_LINARO
select CC_GCC_4_9
@@ -287,10 +294,11 @@ config CC_GCC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
- default "6.2.0" if CC_GCC_V_6_2_0
+ default "6.3.0" if CC_GCC_V_6_3_0
+ default "linaro-6.2-2016.11" if CC_GCC_V_linaro_6_2
default "5.4.0" if CC_GCC_V_5_4_0
- default "linaro-5.2-2015.11-2" if CC_GCC_V_linaro_5_2
- default "linaro-4.9-2015.06" if CC_GCC_V_linaro_4_9
+ default "linaro-5.3-2016.05" if CC_GCC_V_linaro_5_3
+ default "linaro-4.9-2016.02" if CC_GCC_V_linaro_4_9
default "4.9.4" if CC_GCC_V_4_9_4
default "linaro-4.8-2015.06" if CC_GCC_V_linaro_4_8
default "4.8.5" if CC_GCC_V_4_8_5
diff --git a/config/companion_libs.in b/config/companion_libs.in
index 67094cb..7d1d4f7 100644
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -62,11 +62,15 @@ config COMPLIBS
bool
config LIBICONV
- bool
+ bool "Build local libiconv"
+ default y if CANADIAN || CROSS_NATIVE
select COMPLIBS
config GETTEXT
- bool
+ bool "Build local gettext"
+ default y if CANADIAN || CROSS_NATIVE
+ select LIBICONV_NEEDED
+ select NCURSES_NEEDED
select COMPLIBS
config GMP
diff --git a/config/companion_libs/cloog.in b/config/companion_libs/cloog.in
index dcac30d..d6e129d 100644
--- a/config/companion_libs/cloog.in
+++ b/config/companion_libs/cloog.in
@@ -1,31 +1,32 @@
# CLooG options
+# CLooG 0.18.4 requires ISL 0.12 or newer
+# CLooG 0.18.1/0.18.0 frequires ISL 0.12 or older
choice
bool
prompt "CLooG version"
-if ISL
-
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config CLOOG_V_0_18_4
bool
prompt "0.18.4"
+ depends on ISL_V_0_12_or_later
select CLOOG_0_18_4_or_later
config CLOOG_V_0_18_1
bool
prompt "0.18.1"
+ depends on !ISL_V_0_14_or_later
select CLOOG_0_18_or_later
config CLOOG_V_0_18_0
bool
prompt "0.18.0"
+ depends on !ISL_V_0_14_or_later
select CLOOG_0_18_or_later
-endif # ISL
-
endchoice
config CLOOG_VERSION
diff --git a/config/companion_libs/expat.in b/config/companion_libs/expat.in
index 1dff4a7..3f2ebd2 100644
--- a/config/companion_libs/expat.in
+++ b/config/companion_libs/expat.in
@@ -6,9 +6,13 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
-config EXPAT_V_2_1_0
+config EXPAT_V_2_2_0
bool
- prompt "2.1.0"
+ prompt "2.2.0"
+
+config EXPAT_V_2_1_1
+ bool
+ prompt "2.1.1"
endchoice
@@ -16,4 +20,5 @@ config EXPAT_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
- default "2.1.0" if EXPAT_V_2_1_0
+ default "2.2.0" if EXPAT_V_2_2_0
+ default "2.1.1" if EXPAT_V_2_1_1
diff --git a/config/companion_libs/gmp.in b/config/companion_libs/gmp.in
index 52ffcdf..b92050d 100644
--- a/config/companion_libs/gmp.in
+++ b/config/companion_libs/gmp.in
@@ -6,6 +6,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GMP_V_6_1_2
+ bool
+ prompt "6.1.2"
+ select GMP_5_0_2_or_later
+
config GMP_V_6_1_0
bool
prompt "6.1.0"
@@ -57,6 +62,7 @@ config GMP_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "6.1.2" if GMP_V_6_1_2
default "6.1.0" if GMP_V_6_1_0
default "6.0.0a" if GMP_V_6_0_0
default "5.1.3" if GMP_V_5_1_3
diff --git a/config/companion_libs/isl.in b/config/companion_libs/isl.in
index 1477212..f1af3a0 100644
--- a/config/companion_libs/isl.in
+++ b/config/companion_libs/isl.in
@@ -1,31 +1,71 @@
# ISL options
+# GCC 4.8 supports ISL 0.10 to 0.14
+# GCC 4.9 supports ISL 0.10 to 0.15
+# GCC 5 supports ISL 0.12 to 0.16
+# GCC 6 supports ISL 0.14 to 0.16
+# Starting with GCC 5, GCC's configure no longer checks the ISL version explicitly,
+# despite what the configure's message says ("checking for isl 0.15 or 0.16").
+# Instead, it verifies that certain interfaces are available, so it accepts 0.17.1
+# or 0.18 under that check. Include them as experimental just in case anyone needs
+# the bugfixes in these releases.
choice
bool
prompt "ISL version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config ISL_V_0_18
+ bool
+ prompt "0.18"
+ depends on EXPERIMENTAL # Not officially recommended by GCC
+ depends on CC_GCC_5_or_later
+ select ISL_V_0_16_or_later
+
+config ISL_V_0_17_1
+ bool
+ prompt "0.17.1"
+ depends on EXPERIMENTAL # Not officially recommended by GCC
+ depends on CC_GCC_5_or_later
+ select ISL_V_0_16_or_later
+
+config ISL_V_0_16_1
+ bool
+ prompt "0.16.1"
+ depends on CC_GCC_5_or_later
+ select ISL_V_0_16_or_later
+
+config ISL_V_0_15
+ bool
+ prompt "0.15"
+ select ISL_V_0_15_or_later
+
config ISL_V_0_14
bool
prompt "0.14"
- depends on CLOOG_0_18_4_or_later || CC_GCC_5_or_later
select ISL_V_0_14_or_later
config ISL_V_0_12_2
bool
prompt "0.12.2"
- depends on ! CLOOG_0_18_4_or_later || CC_GCC_5_or_later
+ depends on !CC_GCC_6_or_later
select ISL_V_0_12_or_later
config ISL_V_0_11_1
bool
prompt "0.11.1"
- depends on ! CLOOG_0_18_4_or_later
- depends on ! CC_GCC_5_or_later
+ depends on !CC_GCC_4_9_or_later
endchoice
+config ISL_V_0_16_or_later
+ bool
+ select ISL_V_0_15_or_later
+
+config ISL_V_0_15_or_later
+ bool
+ select ISL_V_0_14_or_later
+
config ISL_V_0_14_or_later
bool
select ISL_V_0_12_or_later
@@ -37,6 +77,10 @@ config ISL_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "0.18" if ISL_V_0_18
+ default "0.17.1" if ISL_V_0_17_1
+ default "0.16.1" if ISL_V_0_16_1
+ default "0.15" if ISL_V_0_15
default "0.14" if ISL_V_0_14
default "0.12.2" if ISL_V_0_12_2
default "0.11.1" if ISL_V_0_11_1
diff --git a/config/companion_libs/mpfr.in b/config/companion_libs/mpfr.in
index fef50b0..5957e23 100644
--- a/config/companion_libs/mpfr.in
+++ b/config/companion_libs/mpfr.in
@@ -6,6 +6,10 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config MPFR_V_3_1_5
+ bool
+ prompt "3.1.5"
+
config MPFR_V_3_1_3
bool
prompt "3.1.3"
@@ -44,6 +48,7 @@ config MPFR_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "3.1.5" if MPFR_V_3_1_5
default "3.1.3" if MPFR_V_3_1_3
default "3.1.2" if MPFR_V_3_1_2
default "3.1.0" if MPFR_V_3_1_0
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 2b33d33..6ef0640 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -6,15 +6,13 @@ source "config/debug/gdb.in.cross"
source "config/debug/gdb.in.native"
source "config/debug/gdb.in.gdbserver"
-if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
-
comment "gdb version"
config GDB_CUSTOM
bool
prompt "Custom gdb"
depends on EXPERIMENTAL
- select GDB_7_2_or_later
+ select GDB_7_12_or_later
help
The choosen gdb version shall be not downloaded. Instead use
a custom location to get the source.
@@ -48,6 +46,7 @@ if ! GDB_CUSTOM
config DEBUG_GDB_SHOW_LINARO
bool
prompt "Show Linaro versions"
+ depends on OBSOLETE
help
Linaro is maintaining some advanced/more stable/experimental versions
of gdb, especially for the ARM architecture.
@@ -68,6 +67,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GDB_V_7_12
+ bool
+ prompt "7.12"
+ select GDB_7_12_or_later
+
config GDB_V_7_11
bool
prompt "7.11"
@@ -81,48 +85,71 @@ config GDB_V_7_10_1
config GDB_V_7_10
bool
prompt "7.10"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_9_1
bool
prompt "7.9.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_9
bool
prompt "7.9"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_linaro_7_8
bool
prompt "linaro-7.8-2014.09"
depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_8_2
bool
prompt "7.8.2"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_8_1
bool
prompt "7.8.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_8
bool
prompt "7.8"
+ depends on OBSOLETE
+ select GDB_7_2_or_later
+
+config GDB_V_linaro_7_7_1
+ bool
+ prompt "linaro-7.7.1-2014.06"
+ depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_7_1
bool
prompt "7.7.1"
+ depends on OBSOLETE
+ select GDB_7_2_or_later
+
+config GDB_V_linaro_7_7
+ bool
+ prompt "linaro-7.7-2014.05"
+ depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_7
bool
prompt "7.7"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_linaro_7_6
@@ -134,85 +161,97 @@ config GDB_V_linaro_7_6
config GDB_V_7_6_1
bool
prompt "7.6.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_linaro_7_5
bool
- prompt "linaro-7.5-2012.12-1"
+ prompt "linaro-7.5-2012.12"
depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_5_1
bool
prompt "7.5.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_linaro_7_4
bool
prompt "linaro-7.4-2012.06"
depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_4_1
bool
prompt "7.4.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_4
bool
prompt "7.4"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_linaro_7_3
bool
prompt "linaro-7.3-2011.12"
depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_3_1
bool
prompt "7.3.1"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_3a
bool
prompt "7.3a"
- select GDB_7_2_or_later
-
-config GDB_V_linaro_7_2
- bool
- prompt "linaro-7.2-2011.05-0"
- depends on DEBUG_GDB_SHOW_LINARO
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_2a
bool
prompt "7.2a"
+ depends on OBSOLETE
select GDB_7_2_or_later
config GDB_V_7_1a
bool
prompt "7.1a"
+ depends on OBSOLETE
select GDB_7_0_or_later
config GDB_V_7_0_1a
bool
prompt "7.0.1a"
+ depends on OBSOLETE
select GDB_7_0_or_later
config GDB_V_7_0a
bool
prompt "7.0a"
+ depends on OBSOLETE
select GDB_7_0_or_later
config GDB_V_6_8a
bool
+ depends on OBSOLETE
prompt "6.8a"
endchoice
endif # ! GDB_CUSTOM
+config GDB_7_12_or_later
+ bool
+ select GDB_7_2_or_later
+
config GDB_7_2_or_later
bool
select GDB_7_0_or_later
@@ -238,6 +277,7 @@ config GDB_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "7.12" if GDB_V_7_12
default "7.11" if GDB_V_7_11
default "7.10.1" if GDB_V_7_10_1
default "7.10" if GDB_V_7_10
@@ -247,11 +287,13 @@ config GDB_VERSION
default "linaro-7.8-2014.09" if GDB_V_linaro_7_8
default "7.8.1" if GDB_V_7_8_1
default "7.8" if GDB_V_7_8
+ default "linaro-7.7.1-2014.06-1" if GDB_V_linaro_7_7_1
default "7.7.1" if GDB_V_7_7_1
+ default "linaro-7.7-2014.05" if GDB_V_linaro_7_7
default "7.7" if GDB_V_7_7
default "linaro-7.6.1-2013.10" if GDB_V_linaro_7_6
default "7.6.1" if GDB_V_7_6_1
- default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5
+ default "linaro-7.5-2012.12" if GDB_V_linaro_7_5
default "7.5.1" if GDB_V_7_5_1
default "linaro-7.4-2012.06" if GDB_V_linaro_7_4
default "7.4.1" if GDB_V_7_4_1
@@ -259,7 +301,6 @@ config GDB_VERSION
default "linaro-7.3-2011.12" if GDB_V_linaro_7_3
default "7.3.1" if GDB_V_7_3_1
default "7.3a" if GDB_V_7_3a
- default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
default "7.2a" if GDB_V_7_2a
default "7.1a" if GDB_V_7_1a
default "7.0.1a" if GDB_V_7_0_1a
@@ -267,6 +308,3 @@ config GDB_VERSION
default "6.8a" if GDB_V_6_8a
endif # ! GDB_CUSTOM
-
-endif # GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
-
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index 915debd..634b13b 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -5,6 +5,7 @@ config GDB_NATIVE
prompt "Native gdb"
depends on ! BARE_METAL
depends on ! BACKEND
+ depends on CC_LANG_CXX || !GDB_7_12_or_later
select EXPAT_TARGET
select NCURSES_TARGET
help
diff --git a/config/debug/strace.in b/config/debug/strace.in
index 5566129..a225878 100644
--- a/config/debug/strace.in
+++ b/config/debug/strace.in
@@ -8,42 +8,78 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config STRACE_V_4_15
+ bool
+ prompt "4.15"
+ depends on CONFIGURE_has_xz
+
+config STRACE_V_4_14
+ bool
+ prompt "4.14"
+ depends on CONFIGURE_has_xz
+
+config STRACE_V_4_13
+ bool
+ prompt "4.13 (OBSOLETE)"
+ depends on OBSOLETE
+ depends on CONFIGURE_has_xz
+
+config STRACE_V_4_12
+ bool
+ prompt "4.12 (OBSOLETE)"
+ depends on OBSOLETE
+ depends on CONFIGURE_has_xz
+
+config STRACE_V_4_11
+ bool
+ prompt "4.11 (OBSOLETE)"
+ depends on OBSOLETE
+ depends on CONFIGURE_has_xz
+
config STRACE_V_4_10
bool
- prompt "4.10"
+ prompt "4.10 (OBSOLETE)"
+ depends on OBSOLETE
depends on CONFIGURE_has_xz
config STRACE_V_4_9
bool
- prompt "4.9"
+ prompt "4.9 (OBSOLETE)"
+ depends on OBSOLETE
depends on CONFIGURE_has_xz
config STRACE_V_4_8
bool
- prompt "4.8"
+ prompt "4.8 (OBSOLETE)"
+ depends on OBSOLETE
depends on CONFIGURE_has_xz
config STRACE_V_4_7
bool
- prompt "4.7"
+ prompt "4.7 (OBSOLETE)"
+ depends on OBSOLETE
depends on CONFIGURE_has_xz
config STRACE_V_4_6
bool
- prompt "4.6"
+ prompt "4.6 (OBSOLETE)"
+ depends on OBSOLETE
depends on CONFIGURE_has_xz
config STRACE_V_4_5_20
bool
- prompt "4.5.20"
+ prompt "4.5.20 (OBSOLETE)"
+ depends on OBSOLETE
config STRACE_V_4_5_19
bool
- prompt "4.5.19"
+ prompt "4.5.19 (OBSOLETE)"
+ depends on OBSOLETE
config STRACE_V_4_5_18
bool
- prompt "4.5.18"
+ prompt "4.5.18 (OBSOLETE)"
+ depends on OBSOLETE
endchoice
@@ -51,6 +87,11 @@ config STRACE_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "4.15" if STRACE_V_4_15
+ default "4.14" if STRACE_V_4_14
+ default "4.13" if STRACE_V_4_13
+ default "4.12" if STRACE_V_4_12
+ default "4.11" if STRACE_V_4_11
default "4.10" if STRACE_V_4_10
default "4.9" if STRACE_V_4_9
default "4.8" if STRACE_V_4_8
diff --git a/config/libc/mingw.in b/config/libc/mingw.in
index 45b6971..6c33d2f 100644
--- a/config/libc/mingw.in
+++ b/config/libc/mingw.in
@@ -16,29 +16,36 @@ choice
bool
prompt "Windows API version"
-config WINAPI_V_DEVEL
- bool
- prompt "devel"
- depends on EXPERIMENTAL
-
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config WINAPI_V_5_0_1
+ bool
+ prompt "5.0.1"
+
+config WINAPI_V_5_0_0
+ bool
+ prompt "5.0.0 (OBSOLETE)"
+ depends on OBSOLETE
+
config WINAPI_V_4_0_4
bool
prompt "4.0.4"
config WINAPI_V_4_0_2
bool
- prompt "4.0.2"
+ prompt "4.0.2 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_4_0_1
bool
- prompt "4.0.1"
+ prompt "4.0.1 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_4_0_0
bool
- prompt "4.0.0"
+ prompt "4.0.0 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_3_1_0
bool
@@ -46,20 +53,28 @@ config WINAPI_V_3_1_0
config WINAPI_V_3_0_0
bool
- prompt "3.0.0"
+ prompt "3.0.0 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_2_0_8
bool
- prompt "2.0.8"
+ prompt "2.0.8 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_2_0_7
bool
- prompt "2.0.7"
+ prompt "2.0.7 (OBSOLETE)"
+ depends on OBSOLETE
config WINAPI_V_select
bool
prompt "Other version"
+config WINAPI_V_DEVEL
+ bool
+ prompt "devel"
+ depends on EXPERIMENTAL
+
endchoice
config WINAPI_VERSION
@@ -68,6 +83,8 @@ config WINAPI_VERSION
default "devel" if WINAPI_V_DEVEL
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "5.0.1" if WINAPI_V_5_0_1
+ default "5.0.0" if WINAPI_V_5_0_0
default "4.0.4" if WINAPI_V_4_0_4
default "4.0.2" if WINAPI_V_4_0_2
default "4.0.1" if WINAPI_V_4_0_1
diff --git a/config/libc/musl.in b/config/libc/musl.in
index 3e0b5a1..5ea166f 100644
--- a/config/libc/musl.in
+++ b/config/libc/musl.in
@@ -53,17 +53,23 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
-config LIBC_MUSL_V_1_1
+config LIBC_MUSL_V_1_1_16
bool
- prompt "1.1.15 (Mainline)"
+ prompt "1.1.16"
depends on EXPERIMENTAL
+config LIBC_MUSL_V_1_1_15
+ bool
+ prompt "1.1.15 (OBSOLETE)"
+ depends on EXPERIMENTAL && OBSOLETE
+
endchoice
config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
- default "1.1.15" if LIBC_MUSL_V_1_1
+ default "1.1.16" if LIBC_MUSL_V_1_1_16
+ default "1.1.15" if LIBC_MUSL_V_1_1_15
endif # ! LIBC_MUSL_CUSTOM
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index a201551..166130f 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -17,7 +17,7 @@ config LIBC_NEWLIB_CUSTOM
bool
prompt "Custom newlib"
depends on EXPERIMENTAL
- select LIBC_NEWLIB_2_3_or_later
+ select LIBC_NEWLIB_2_5_or_later
help
The choosen newlib version shall be not downloaded. Instead use
a custom location to get the source.
@@ -54,15 +54,15 @@ config CC_NEWLIB_SHOW_LINARO
help
Linaro is maintaining some advanced/more stable/experimental versions
of newlib, especially for the ARM architecture.
-
+
Those versions have not been blessed by the newlib comunity (nor have they
been cursed either!), but they look to be pretty much stable, and even
more stable than the upstream versions. YMMV...
-
+
If you do not know what this Linaro stuff is, then simply say 'n' here,
and rest in peace. OTOH, if you know what you are doing, you will be
able to use and enjoy :-) the Linaro versions by saying 'y' here.
-
+
Linaro: http://www.linaro.org/
choice
@@ -70,6 +70,15 @@ choice
prompt "newlib version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_NEWLIB_V_2_5_0
+ bool
+ prompt "2.5.0"
+ select LIBC_NEWLIB_2_5
+
+config LIBC_NEWLIB_V_2_4_0
+ bool
+ prompt "2.4.0.20161025"
+ select LIBC_NEWLIB_2_4
config LIBC_NEWLIB_V_2_3_0
bool
@@ -123,6 +132,14 @@ endchoice
endif # ! LIBC_NEWLIB_CUSTOM
+config LIBC_NEWLIB_2_5
+ bool
+ select LIBC_NEWLIB_2_5_or_later
+
+config LIBC_NEWLIB_2_4
+ bool
+ select LIBC_NEWLIB_2_4_or_later
+
config LIBC_NEWLIB_2_3
bool
select LIBC_NEWLIB_2_3_or_later
@@ -139,6 +156,14 @@ config LIBC_NEWLIB_2_0
bool
select LIBC_NEWLIB_2_0_or_later
+config LIBC_NEWLIB_2_5_or_later
+ bool
+ select LIBC_NEWLIB_2_4_or_later
+
+config LIBC_NEWLIB_2_4_or_later
+ bool
+ select LIBC_NEWLIB_2_3_or_later
+
config LIBC_NEWLIB_2_3_or_later
bool
select LIBC_NEWLIB_2_2_or_later
@@ -162,6 +187,8 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "2.5.0" if LIBC_NEWLIB_V_2_5_0
+ default "2.4.0.20161025" if LIBC_NEWLIB_V_2_4_0
default "2.3.0.20160226" if LIBC_NEWLIB_V_2_3_0
default "linaro-2.2.0-2015.01" if LIBC_NEWLIB_LINARO_V_2_2_0
default "2.2.0.20151023" if LIBC_NEWLIB_V_2_2_0
@@ -189,5 +216,5 @@ config LIBC_NEWLIB_TARGET_CFLAGS
gcc target libraries.
Note: Both TARGET_CFLAGS and LIBC_NEWLIB_TARGET_CFLAGS are used
to compile the libraries.
-
+
Leave blank if you don't know better.
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
index 48e5503..927cce8 100644
--- a/config/libc/newlib.in.2
+++ b/config/libc/newlib.in.2
@@ -26,6 +26,41 @@ config LIBC_NEWLIB_IO_LDBL
help
Enable support for IOs on long doubles.
+config LIBC_NEWLIB_IO_POS_ARGS
+ bool
+ prompt "Enable printf-family positional arg support"
+ help
+ Enable printf-family positional arg support.
+
+config LIBC_NEWLIB_FVWRITE_IN_STREAMIO
+ bool
+ prompt "Vector buffer mechanism to support stream IO buffering"
+ default y
+ help
+ NEWLIB implements the vector buffer mechanism to support stream IO
+ buffering required by C standard. This feature is possibly
+ unnecessary for embedded systems which won't change file buffering
+ with functions like `setbuf' or `setvbuf'. The buffering mechanism
+ still acts as default for STDIN/STDOUT/STDERR even if this option
+ is specified.
+
+config LIBC_NEWLIB_UNBUF_STREAM_OPT
+ bool
+ prompt "Optimize fprintf to unbuffered unix file"
+ default y
+ help
+ NEWLIB does optimization when `fprintf to write only unbuffered unix
+ file'. It creates a temorary buffer to do the optimization that
+ increases stack consumption by about `BUFSIZ' bytes. Disabling this option
+ disables the optimization and saves size of text and stack.
+
+config LIBC_NEWLIB_FSEEK_OPTIMIZATION
+ bool
+ prompt "Fseek optimisation"
+ default y
+ help
+ Disabling fseek optimisation can decrease code size.
+
config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
bool
prompt "Disable the syscalls supplied with newlib"
@@ -35,15 +70,82 @@ config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
_write... If you plan to port newlib to a new
platform/board, say Yes.
+config LIBC_NEWLIB_REGISTER_FINI
+ bool
+ prompt "Enable finalization function registration using atexit"
+ help
+ Enable finalization function registration using atexit.
+
+config LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC
+ bool
+ prompt "Enable dynamic allocation of atexit entries"
+ default y
+ help
+ Enable dynamic allocation of atexit entries.
+
+config LIBC_NEWLIB_GLOBAL_ATEXIT
+ bool
+ prompt "Enable atexit data structure as global variable"
+ help
+ Enable atexit data structure as global variable. By doing so it is
+ move out of _reent structure, and can be garbage collected if atexit
+ is not referenced.
+
+config LIBC_NEWLIB_LITE_EXIT
+ bool
+ prompt "Enable lite exit"
+ help
+ Enable lite exit, a size-reduced implementation of exit that doesn't
+ invoke clean-up functions such as _fini or global destructors.
+
+config LIBC_NEWLIB_REENT_SMALL
+ bool
+ prompt "Enable small reentrant struct support"
+ help
+ Enable small reentrant struct support.
+
+config LIBC_NEWLIB_MULTITHREAD
+ bool
+ prompt "Enable support for multiple threads"
+ default y
+ help
+ Enable support for multiple threads.
+
+config LIBC_NEWLIB_EXTRA_SECTIONS
+ bool
+ prompt "Place each function & data element in their own section"
+ help
+ Place each function & data symbol in their own section. This allows
+ the linker to garbage collect unused symbols at link time.
+
+config LIBC_NEWLIB_WIDE_ORIENT
+ bool
+ prompt "Allow wide C99 stream orientation"
+ default y
+ help
+ C99 states that each stream has an orientation, wide or byte. This
+ feature is possibly unnecessary for embedded systems which only do
+ byte input/output operations on stream. Disabling this feature can
+ decrease code size.
+
config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
bool
prompt "Optimize newlib for size"
default y
help
Pass --enable-target-optspace to newlib configure.
-
+
This will compile newlib with -Os.
+config LIBC_NEWLIB_LTO
+ bool
+ prompt "Enable Link Time Optimization"
+ help
+ Builds the libraries with -flto to enable more aggressive link time
+ optimization. You will need to add -flto-partition=one to your
+ application's link line to keep the RETURN assembler macro together
+ with it's consumers.
+
config LIBC_NEWLIB_NANO_MALLOC
bool
prompt "Enable Nano Malloc"
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in
index c6b8576..43457c5 100644
--- a/config/libc/uClibc.in
+++ b/config/libc/uClibc.in
@@ -81,9 +81,15 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_UCLIBC_NG_V_1_0_21
+ bool
+ prompt "1.0.21"
+ select LIBC_UCLIBC_NG_1_0_15_or_later
+
config LIBC_UCLIBC_NG_V_1_0_20
bool
prompt "1.0.20"
+ depends on OBSOLETE
select LIBC_UCLIBC_NG_1_0_15_or_later
config LIBC_UCLIBC_V_0_9_33_2
@@ -97,6 +103,7 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "1.0.21" if LIBC_UCLIBC_NG_V_1_0_21
default "1.0.20" if LIBC_UCLIBC_NG_V_1_0_20
default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
diff --git a/config/toolchain.in b/config/toolchain.in
index ca74ee7..5a5f929 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -4,12 +4,13 @@ comment "General toolchain options"
config FORCE_SYSROOT
bool
- default y if !OBSOLETE
+ default y if !OBSOLETE && !BARE_METAL
select USE_SYSROOT
config USE_SYSROOT
bool
prompt "Use sysroot'ed toolchain"
+ depends on !BARE_METAL
default y
help
Use the 'shinny new' sysroot feature of gcc: libraries split between
@@ -308,6 +309,7 @@ comment "Misc options"
config TOOLCHAIN_ENABLE_NLS
bool
prompt "Enable nls"
+ select GETTEXT_NEEDED
help
Say 'Y' here to enable native language support (nls).