scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.
On 64bit MacOS `gcc -dumpmachine` gives i686 for the host machine.
This conflicts with the expectations of some following configure scripts
that a 64bit x86 is given as x86_64; i686 is understood as a 32 bit machine.
config.guess sets the host machine in CT_BUILD correctly.
yann.morin.1998@anciens.enib.fr:
As suggested by Khem RAJ on the ML, always use config.guess.
6 # Parse the tools' paths configuration
7 . "${CT_LIB_DIR}/paths.mk"
9 # We'll need the stdout later, save it
12 # Parse the common functions
13 . "${CT_LIB_DIR}/scripts/functions"
15 # Don't care about any log file
17 rm -f "${tmp_log_file}"
19 # Parse the configuration file
22 # Parse architecture and kernel specific functions
23 . "${CT_LIB_DIR}/scripts/build/arch/${CT_ARCH}.sh"
24 . "${CT_LIB_DIR}/scripts/build/kernel/${CT_KERNEL}.sh"
29 # All this for this single echo... :-( Sigh, I'll have to re-arrange things...
30 echo "${CT_TARGET}" >&7