Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2 # Automatically generated make config: don't edit
3 # crosstool-NG version: 1.0.0+svn
4 # Sun May 4 12:42:19 2008
8 # Paths and misc options
12 # crosstool-NG behavior
14 # CT_OBSOLETE is not set
16 # CT_BROKEN is not set
17 # CT_DEBUG_CT is not set
22 # CT_FORCE_DOWNLOAD is not set
23 # CT_ONLY_DOWNLOAD is not set
25 # CT_PROXY_TYPE_HTTP is not set
26 # CT_PROXY_TYPE_SOCKS is not set
28 # CT_BREAK_INDENT is not set
33 # CT_FORCE_EXTRACT is not set
34 # CT_ONLY_EXTRACT is not set
47 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
49 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
50 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
51 # CT_CUSTOM_PATCH is not set
58 # CT_LOG_ERROR is not set
59 # CT_LOG_WARN is not set
60 # CT_LOG_INFO is not set
62 # CT_LOG_DEBUG is not set
63 # CT_LOG_ALL is not set
64 CT_LOG_LEVEL_MAX="EXTRA"
65 # CT_LOG_SEE_TOOLS_WARN is not set
68 CT_LOG_FILE_COMPRESS=y
75 # General target options
78 # CT_ARCH_ARM is not set
79 # CT_ARCH_IA64 is not set
81 # CT_ARCH_SH is not set
82 # CT_ARCH_x86 is not set
83 # CT_ARCH_x86_64 is not set
84 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
86 # CT_ARCH_DEFAULT_LE is not set
88 # CT_ARCH_LE is not set
91 # Target optimisations
98 # CT_ARCH_FLOAT_HW is not set
107 # General toolchain options
111 # CT_THREADS_NPTL is not set
112 CT_THREADS_LINUXTHREADS=y
113 # CT_THREADS_NONE is not set
114 CT_THREADS="linuxthreads"
115 CT_TARGET_VENDOR="unknown"
116 CT_TARGET_ALIAS_SED_EXPR=""
122 # CT_NATIVE is not set
124 # CT_CROSS_NATIVE is not set
125 # CT_CANADIAN is not set
126 CT_TOOLCHAIN_TYPE="cross"
134 CT_KERNEL_VERSION="2.6.25.1"
135 CT_KERNEL_LINUX_HEADERS_INSTALL=y
136 # CT_KERNEL_LINUX_HEADERS_SANITISED is not set
137 # CT_KERNEL_LINUX_HEADERS_COPY is not set
138 # CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
140 CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
141 # CT_KERNEL_INSTALL_V_2_6_18_8 is not set
142 # CT_KERNEL_INSTALL_V_2_6_19_7 is not set
143 # CT_KERNEL_INSTALL_V_2_6_20_21 is not set
144 # CT_KERNEL_INSTALL_V_2_6_21_7 is not set
145 # CT_KERNEL_INSTALL_V_2_6_22_19 is not set
146 # CT_KERNEL_INSTALL_V_2_6_23_17 is not set
147 # CT_KERNEL_INSTALL_V_2_6_24 is not set
148 # CT_KERNEL_INSTALL_V_2_6_24_1 is not set
149 # CT_KERNEL_INSTALL_V_2_6_24_2 is not set
150 # CT_KERNEL_INSTALL_V_2_6_24_3 is not set
151 # CT_KERNEL_INSTALL_V_2_6_24_4 is not set
152 # CT_KERNEL_INSTALL_V_2_6_24_5 is not set
153 # CT_KERNEL_INSTALL_V_2_6_24_6 is not set
154 # CT_KERNEL_INSTALL_V_2_6_25 is not set
155 CT_KERNEL_INSTALL_V_2_6_25_1=y
156 CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK=y
157 CT_KERNEL_LINUX_VERBOSITY_0=y
158 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
159 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
160 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
161 # CT_KERNEL_LINUX_NEEDS_CONFIG is not set
166 CT_BINUTILS_VERSION="2.18.50.0.6"
167 # CT_BINUTILS_V_2_14 is not set
168 # CT_BINUTILS_V_2_15 is not set
169 # CT_BINUTILS_V_2_16_1 is not set
170 # CT_BINUTILS_V_2_17 is not set
171 # CT_BINUTILS_V_2_18 is not set
172 # CT_BINUTILS_V_2_18_50_0_4 is not set
173 CT_BINUTILS_V_2_18_50_0_6=y
174 CT_BINUTILS_EXTRA_CONFIG=""
175 CT_BINUTILS_FOR_TARGET=y
176 CT_BINUTILS_FOR_TARGET_IBERTY=y
177 CT_BINUTILS_FOR_TARGET_BFD=y
183 CT_CC_VERSION="4.2.3"
185 # CT_CC_V_2_95_3 is not set
186 # CT_CC_V_3_2_3 is not set
187 # CT_CC_V_3_3_6 is not set
188 # CT_CC_V_3_4_6 is not set
189 # CT_CC_V_4_0_0 is not set
190 # CT_CC_V_4_0_1 is not set
191 # CT_CC_V_4_0_2 is not set
192 # CT_CC_V_4_0_3 is not set
193 # CT_CC_V_4_0_4 is not set
194 # CT_CC_V_4_1_0 is not set
195 # CT_CC_V_4_1_1 is not set
196 # CT_CC_V_4_1_2 is not set
197 # CT_CC_V_4_2_0 is not set
198 # CT_CC_V_4_2_1 is not set
199 # CT_CC_V_4_2_2 is not set
202 CT_CC_CORE_EXTRA_CONFIG=""
203 CT_CC_EXTRA_CONFIG=""
206 CT_GMP_VERSION="4.2.2"
209 CT_MPFR_VERSION="2.3.1"
212 CT_CC_SUPPORT_FORTRAN=y
216 CT_CC_SUPPORT_OBJCXX=y
219 # Additional supported languages:
222 # CT_CC_LANG_FORTRAN is not set
223 # CT_CC_LANG_JAVA is not set
224 # CT_CC_LANG_ADA is not set
225 # CT_CC_LANG_OBJC is not set
226 # CT_CC_LANG_OBJCXX is not set
232 # CT_LIBC_GLIBC is not set
234 CT_LIBC_VERSION="0.9.29"
236 # CT_LIBC_SUPPORT_NPTL is not set
237 CT_LIBC_SUPPORT_LINUXTHREADS=y
238 # CT_LIBC_V_snapshot is not set
239 # CT_LIBC_V_specific_date is not set
240 # CT_LIBC_V_0_9_28 is not set
241 # CT_LIBC_V_0_9_28_1 is not set
242 # CT_LIBC_V_0_9_28_2 is not set
243 # CT_LIBC_V_0_9_28_3 is not set
245 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
246 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
247 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
248 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
249 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
250 # CT_LIBC_UCLIBC_LOCALES is not set
256 # CT_SSTRIP_ELFKICKERS is not set
257 CT_SSTRIP_BUILDROOT=y
258 CT_SSTRIP_FROM="buildroot"
264 # CT_DMALLOC_V_5_4_3 is not set
266 CT_DMALLOC_VERSION="5.5.2"
270 # CT_DUMA_V_2_5_1 is not set
271 # CT_DUMA_V_2_5_8 is not set
273 CT_DUMA_VERSION="2_5_12"
276 # CT_GDB_CROSS_STATIC_GDB is not set
277 CT_GDB_CROSS_STATIC_GDBSERVER=y
278 # CT_GDB_NATIVE is not set
279 # CT_GDB_V_snapshot is not set
280 # CT_GDB_V_6_4 is not set
281 # CT_GDB_V_6_5 is not set
283 # CT_GDB_V_6_7 is not set
284 # CT_GDB_V_6_7_1 is not set
285 # CT_GDB_V_6_8 is not set
287 # CT_STRACE is not set