scripts/build/arch/alpha.sh
author Titus von Boxberg <titus@v9g.de>
Wed May 19 18:13:00 2010 +0200 (2010-05-19)
changeset 1958 b9ffc1ef43df
parent 964 0535f7bf1069
child 3169 9d0b37f08a10
permissions -rw-r--r--
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.
yann@557
     1
# Compute Alpha-specific values
yann@557
     2
yann@964
     3
CT_DoArchTupleValues () {
yann@557
     4
    # The architecture part of the tuple:
yann@557
     5
    CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}"
yann@557
     6
}