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
yann@960
     1
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
yann@960
     2
CT_SAVE_TARBALLS=y
yann@960
     3
CT_LOG_EXTRA=y
yann@960
     4
CT_ARCH_CPU="405"
yann@960
     5
CT_ARCH_TUNE="405"
yann@960
     6
CT_ARCH_FLOAT_SW=y
yann@960
     7
CT_ARCH_powerpc=y
yann@960
     8
CT_TARGET_VENDOR="405"
yann@960
     9
CT_KERNEL_linux=y
yann@3175
    10
CT_KERNEL_V_2_6_31=y
yann@2724
    11
CT_BINUTILS_V_2_19_1a=y
yann@960
    12
CT_BINUTILS_FOR_TARGET=y
yann@1563
    13
CT_CC_V_4_3_2=y
yann@2724
    14
CT_CC_LANG_FORTRAN=y
yann@960
    15
CT_CC_LANG_CXX=y
yann@960
    16
CT_CC_LANG_JAVA=y
yann@960
    17
CT_LIBC_glibc=y
yann@2240
    18
CT_LIBC_GLIBC_V_2_9=y
yann@2290
    19
# CT_LIBC_GLIBC_FORCE_UNWIND is not set
yann@1283
    20
CT_LIBC_GLIBC_USE_PORTS=y
yann@960
    21
CT_DEBUG_dmalloc=y
yann@960
    22
CT_DEBUG_duma=y
yann@960
    23
CT_DEBUG_gdb=y
yann@960
    24
CT_GDB_NATIVE=y
yann@3149
    25
CT_GDB_V_6_8a=y
yann@1941
    26
CT_GMP_V_4_3_2=y
yann@1841
    27
CT_MPFR_V_2_4_2=y