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:00 2008
8 # Paths and misc options
12 # crosstool-NG behavior
16 # CT_BROKEN is not set
18 # CT_DEBUG_CT_PAUSE_STEPS is not set
19 CT_DEBUG_CT_SAVE_STEPS=y
20 CT_DEBUG_CT_SAVE_STEPS_GZIP=y
25 # CT_FORCE_DOWNLOAD is not set
26 # CT_ONLY_DOWNLOAD is not set
28 # CT_PROXY_TYPE_HTTP is not set
29 # CT_PROXY_TYPE_SOCKS is not set
31 # CT_BREAK_INDENT is not set
36 # CT_FORCE_EXTRACT is not set
37 # CT_ONLY_EXTRACT is not set
50 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
52 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
53 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
54 # CT_CUSTOM_PATCH is not set
61 # CT_LOG_ERROR is not set
62 # CT_LOG_WARN is not set
63 # CT_LOG_INFO is not set
65 # CT_LOG_DEBUG is not set
66 # CT_LOG_ALL is not set
67 CT_LOG_LEVEL_MAX="EXTRA"
68 # CT_LOG_SEE_TOOLS_WARN is not set
71 CT_LOG_FILE_COMPRESS=y
78 # General target options
81 # CT_ARCH_ARM is not set
83 # CT_ARCH_MIPS is not set
84 # CT_ARCH_SH is not set
85 # CT_ARCH_x86 is not set
86 # CT_ARCH_x86_64 is not set
87 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
88 # CT_ARCH_DEFAULT_BE is not set
89 # CT_ARCH_DEFAULT_LE is not set
90 # CT_ARCH_BE is not set
94 # Target optimisations
102 # CT_ARCH_FLOAT_SW is not set
110 # General toolchain options
114 # CT_THREADS_NPTL is not set
115 CT_THREADS_LINUXTHREADS=y
116 # CT_THREADS_NONE is not set
117 CT_THREADS="linuxthreads"
118 CT_TARGET_VENDOR="unknown"
119 CT_TARGET_ALIAS_SED_EXPR=""
125 # CT_NATIVE is not set
127 # CT_CROSS_NATIVE is not set
128 # CT_CANADIAN is not set
129 CT_TOOLCHAIN_TYPE="cross"
137 CT_KERNEL_VERSION="2.6.18.8"
138 CT_KERNEL_LINUX_HEADERS_INSTALL=y
139 # CT_KERNEL_LINUX_HEADERS_SANITISED is not set
140 # CT_KERNEL_LINUX_HEADERS_COPY is not set
141 # CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
143 CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
144 CT_KERNEL_INSTALL_V_2_6_18_8=y
145 # CT_KERNEL_INSTALL_V_2_6_19_7 is not set
146 # CT_KERNEL_INSTALL_V_2_6_20_21 is not set
147 # CT_KERNEL_INSTALL_V_2_6_21_7 is not set
148 # CT_KERNEL_INSTALL_V_2_6_22_19 is not set
149 # CT_KERNEL_INSTALL_V_2_6_23_17 is not set
150 # CT_KERNEL_INSTALL_V_2_6_24 is not set
151 # CT_KERNEL_INSTALL_V_2_6_24_1 is not set
152 # CT_KERNEL_INSTALL_V_2_6_24_2 is not set
153 # CT_KERNEL_INSTALL_V_2_6_24_3 is not set
154 # CT_KERNEL_INSTALL_V_2_6_24_4 is not set
155 # CT_KERNEL_INSTALL_V_2_6_24_5 is not set
156 # CT_KERNEL_INSTALL_V_2_6_24_6 is not set
157 # CT_KERNEL_INSTALL_V_2_6_25 is not set
158 # CT_KERNEL_INSTALL_V_2_6_25_1 is not set
159 # CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK is not set
160 CT_KERNEL_LINUX_VERBOSITY_0=y
161 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
162 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
163 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
164 # CT_KERNEL_LINUX_NEEDS_CONFIG is not set
169 CT_BINUTILS_VERSION="2.18"
170 # CT_BINUTILS_V_2_14 is not set
171 # CT_BINUTILS_V_2_15 is not set
172 # CT_BINUTILS_V_2_16_1 is not set
173 # CT_BINUTILS_V_2_17 is not set
175 # CT_BINUTILS_V_2_18_50_0_4 is not set
176 # CT_BINUTILS_V_2_18_50_0_6 is not set
177 CT_BINUTILS_EXTRA_CONFIG=""
178 # CT_BINUTILS_FOR_TARGET is not set
184 CT_CC_VERSION="3.4.6"
186 # CT_CC_V_2_95_3 is not set
187 # CT_CC_V_3_2_3 is not set
188 # CT_CC_V_3_3_6 is not set
190 # CT_CC_V_4_0_0 is not set
191 # CT_CC_V_4_0_1 is not set
192 # CT_CC_V_4_0_2 is not set
193 # CT_CC_V_4_0_3 is not set
194 # CT_CC_V_4_0_4 is not set
195 # CT_CC_V_4_1_0 is not set
196 # CT_CC_V_4_1_1 is not set
197 # CT_CC_V_4_1_2 is not set
198 # CT_CC_V_4_2_0 is not set
199 # CT_CC_V_4_2_1 is not set
200 # CT_CC_V_4_2_2 is not set
201 # CT_CC_V_4_2_3 is not set
203 CT_CC_CORE_EXTRA_CONFIG=""
204 CT_CC_EXTRA_CONFIG=""
205 # CT_CC_GCC_GMP_MPFR is not set
207 CT_CC_SUPPORT_FORTRAN=y
211 CT_CC_SUPPORT_OBJCXX=y
214 # Additional supported languages:
216 # CT_CC_LANG_CXX is not set
217 # CT_CC_LANG_FORTRAN is not set
218 # CT_CC_LANG_JAVA is not set
219 # CT_CC_LANG_ADA is not set
220 # CT_CC_LANG_OBJC is not set
221 # CT_CC_LANG_OBJCXX is not set
228 # CT_LIBC_UCLIBC is not set
229 CT_LIBC_VERSION="2.3.6"
231 CT_LIBC_SUPPORT_NPTL=y
232 CT_LIBC_SUPPORT_LINUXTHREADS=y
234 # CT_LIBC_V_2_5 is not set
235 # CT_LIBC_V_2_5_1 is not set
236 # CT_LIBC_V_2_6 is not set
237 # CT_LIBC_V_2_6_1 is not set
238 # CT_LIBC_V_2_7 is not set
239 CT_LIBC_GLIBC_EXTRA_CONFIG=""
240 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
241 CT_LIBC_EXTRA_CC_ARGS=""
242 CT_LIBC_GLIBC_CONFIGPARMS=""
243 # CT_LIBC_GLIBC_USE_PORTS is not set
244 # CT_LIBC_ADDONS is not set
249 # CT_SSTRIP is not set
254 # CT_DMALLOC is not set
257 # CT_STRACE is not set