samples/mips-unknown-linux-uclibc/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_ARCH="mips1"
     6 CT_ARCH_FLOAT_SW=y
     7 CT_ARCH_mips=y
     8 CT_KERNEL_linux=y
     9 CT_BINUTILS_V_2_21_1a=y
    10 CT_CC_V_4_6_1=y
    11 CT_CC_LANG_FORTRAN=y
    12 CT_CC_LANG_CXX=y
    13 CT_LIBC_uClibc=y
    14 CT_LIBC_UCLIBC_V_0_9_32=y
    15 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
    16 CT_LIBC_UCLIBC_WCHAR=y
    17 CT_DEBUG_dmalloc=y
    18 CT_DEBUG_duma=y
    19 CT_DEBUG_gdb=y
    20 CT_GDB_NATIVE=y
    21 CT_GDB_NATIVE_STATIC=y
    22 CT_GDB_V_7_2a=y
    23 CT_MPFR_V_3_0_1=y