samples/powerpc-e500v2-linux-gnuspe/crosstool.config
author Ray Donnelly <mingw.android@gmail.com>
Sat Sep 14 02:45:23 2013 +0100 (2013-09-14)
changeset 3231 69f5dc1ff327
parent 2983 f80b978b443b
child 3234 59f69724a627
permissions -rw-r--r--
configure: Add --with-gperf option

On OS X, Apple supply an old gperf (3.0.3) with xcode and
xcode commandline tools which causes build failures:

./zconf.hash.c:183:17: error: expected expression
{offsetof(struct kconf_id_strings_t, kconf_id_strings_str2),

.. upgrading to gperf 3.0.4 was sufficient to fix this,
so this option allows the user to specify the gperf
program that they wish to use.

To install gperf 3.0.4 from homebrew, I did:

brew tap homebrew/dupes
brew install homebrew/dupes/gperf

.. then passed --with-gperf=$BREWFIX/Cellar/gperf/3.0.4/bin/gperf
to configure

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dtCmcJ9WiqmQ81MmZeRPcV-tDOqe9=kRDW4uQGuZNd2Ng@mail.gmail.com>
Patchwork-Id: 274892
     1 CT_EXPERIMENTAL=y
     2 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
     3 CT_SAVE_TARBALLS=y
     4 CT_LOG_EXTRA=y
     5 CT_ARCH_CPU="8548"
     6 CT_ARCH_TUNE="8548"
     7 CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2"
     8 CT_ARCH_powerpc=y
     9 CT_ARCH_powerpc_ABI_SPE=y
    10 CT_TARGET_VENDOR="e500v2"
    11 CT_KERNEL_linux=y
    12 CT_KERNEL_V_2_6_36=y
    13 CT_BINUTILS_V_2_20_1a=y
    14 CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes --enable-e500x2 --with-e500x2"
    15 CT_BINUTILS_FOR_TARGET=y
    16 CT_CC_GCC_SHOW_LINARO=y
    17 CT_CC_V_4_6_0=y
    18 CT_CC_LANG_CXX=y
    19 CT_CC_EXTRA_CONFIG_ARRAY="--with-long-double-128"
    20 # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
    21 # CT_CC_GCC_SJLJ_EXCEPTIONS is not set
    22 CT_LIBC_EGLIBC_V_2_10=y
    23 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    24 CT_LIBC_GLIBC_USE_PORTS=y
    25 CT_DEBUG_duma=y
    26 CT_DEBUG_gdb=y
    27 CT_GDB_NATIVE=y
    28 CT_GDB_NATIVE_STATIC=y
    29 CT_GDB_V_7_1a=y
    30 CT_DEBUG_ltrace=y
    31 CT_DEBUG_strace=y
    32 CT_STRACE_V_4_5_20=y
    33 CT_GMP_V_5_0_1=y
    34 CT_MPFR_V_3_0_0=y
    35 CT_CLOOG_V_0_15_10=y
    36 CT_MPC_V_0_8_2=y
    37 CT_TEST_SUITE_GCC=y