samples/powerpc-405-linux-gnu/crosstool.config
author Ray Donnelly <mingw.android@gmail.com>
Sat Sep 14 02:45:23 2013 +0100 (2013-09-14)
changeset 3231 69f5dc1ff327
parent 3149 e1611da4bb05
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_LOCAL_TARBALLS_DIR="${HOME}/src"
     2 CT_SAVE_TARBALLS=y
     3 CT_LOG_EXTRA=y
     4 CT_ARCH_CPU="405"
     5 CT_ARCH_TUNE="405"
     6 CT_ARCH_FLOAT_SW=y
     7 CT_ARCH_powerpc=y
     8 CT_TARGET_VENDOR="405"
     9 CT_KERNEL_linux=y
    10 CT_KERNEL_V_2_6_31=y
    11 CT_BINUTILS_V_2_19_1a=y
    12 CT_BINUTILS_FOR_TARGET=y
    13 CT_CC_V_4_3_2=y
    14 CT_CC_LANG_FORTRAN=y
    15 CT_CC_LANG_CXX=y
    16 CT_CC_LANG_JAVA=y
    17 CT_LIBC_glibc=y
    18 CT_LIBC_GLIBC_V_2_9=y
    19 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    20 CT_LIBC_GLIBC_USE_PORTS=y
    21 CT_DEBUG_dmalloc=y
    22 CT_DEBUG_duma=y
    23 CT_DEBUG_gdb=y
    24 CT_GDB_NATIVE=y
    25 CT_GDB_V_6_8a=y
    26 CT_GMP_V_4_3_2=y
    27 CT_MPFR_V_2_4_2=y