scripts/build/internals.sh: compile wrapper with portable options.
static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
7 prompt "binutils version"
8 # Don't remove next line
9 # CT_INSERT_VERSION_BELOW
11 config BINUTILS_V_2_20
15 config BINUTILS_V_2_19_1
19 config BINUTILS_V_2_19
23 config BINUTILS_V_2_18
27 config BINUTILS_V_2_17
29 prompt "2.17 (OBSOLETE)"
32 config BINUTILS_V_2_16_1
34 prompt "2.16.1 (OBSOLETE)"
39 config BINUTILS_VERSION
41 # Don't remove next line
42 # CT_INSERT_VERSION_STRING_BELOW
43 default "2.20" if BINUTILS_V_2_20
44 default "2.19.1" if BINUTILS_V_2_19_1
45 default "2.19" if BINUTILS_V_2_19
46 default "2.18" if BINUTILS_V_2_18
47 default "2.17" if BINUTILS_V_2_17
48 default "2.16.1" if BINUTILS_V_2_16_1
50 config BINUTILS_EXTRA_CONFIG
52 prompt "binutils extra config"
55 Extra flags passed onto ./configure when configuring
57 config BINUTILS_FOR_TARGET
59 prompt "binutils libraries for the target"
60 depends on ! BARE_METAL
64 Some utilities may need binutils libraries to be available on
65 the target, eg. oprofile.
67 if BINUTILS_FOR_TARGET
69 config BINUTILS_FOR_TARGET_IBERTY
74 config BINUTILS_FOR_TARGET_BFD
79 config BINUTILS_TARGET_USE_GMP_MPFR
81 prompt "Use GMP and MPFR"
86 binutils can be configured to use GMP and MPFR.
87 While this is automatically handled for the cross-binutils,
88 You have to explicitly state so for the native libraries that
89 will run on the target.
91 endif # BINUTILS_FOR_TARGET