samples/powerpc-860-linux-gnu/crosstool.config
author Martin Guy <martinwguy@gmail.com>
Sun Mar 31 04:07:38 2013 +0000 (2013-03-31)
changeset 3203 74fd467be5aa
parent 3149 e1611da4bb05
permissions -rw-r--r--
arch/avr32: Fix download of header files

This patch fixes the download of the avr32 headers in crosstool-ng by
fetching them directly from Atmel's web site instead of the now-broken URL
given by the original author of the avr32-header-fetching modification,
who fetched them from a copy on his own, now-defunct server.

It also adds the necessary logic to extract from a zip file, as that is
how the headers are packaged.

To configure it for avr32 after launching ct-ng menuconfig in an empty
directory:

Paths and misc options ->
Shell to use as CONFIG_SHELL = sh
Target options ->
Target Architecture = avr32
Toolchain options ->
Tuple's alias = avr32
Binary utilities ->
binutils version = 2.18a
C compiler
gcc version = 4.2.2
C-library
newlib version = 1.17.0
Enable IOs on long long = yes
Enable IOs on floats and doubles = yes
Disable the syscalls supplied with newlib = yes

CONFIG_SHELL is necessary to get round the "fragment: command not
found" bug when binutils-2.18 is configured using bash.

Prepared against crosstool-ng mercurial trunk on 31 March 2012.

Signed-off-by: Martin Guy <martinwguy@gmail.com>
[yann.morin.1998@free.fr: update bundles sample accordingly]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAL4-wQrg_NQ7jm-NCADqeyQr9twyhtx42OUGNThP6gWeqZc=kw@mail.gmail.com>
Patchwork-Id: 232612
     1 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
     2 CT_SAVE_TARBALLS=y
     3 CT_LOG_EXTRA=y
     4 CT_ARCH_CPU="860"
     5 CT_ARCH_FLOAT_SW=y
     6 CT_ARCH_powerpc=y
     7 CT_TARGET_VENDOR="860"
     8 CT_KERNEL_linux=y
     9 CT_KERNEL_V_2_6_31=y
    10 CT_BINUTILS_V_2_19_1a=y
    11 CT_BINUTILS_FOR_TARGET=y
    12 CT_CC_V_4_3_2=y
    13 CT_CC_LANG_FORTRAN=y
    14 CT_CC_LANG_CXX=y
    15 CT_CC_EXTRA_CONFIG_ARRAY="--with-cpu=860 --enable-cxx-flags=-mcpu=860 --with-float=soft --enable-cxx-flags=-msoft-float"
    16 CT_LIBC_glibc=y
    17 CT_LIBC_GLIBC_V_2_9=y
    18 CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY="--without-fp"
    19 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    20 CT_LIBC_GLIBC_USE_PORTS=y
    21 CT_DEBUG_gdb=y
    22 CT_GDB_NATIVE=y
    23 # CT_GDB_GDBSERVER_STATIC is not set
    24 CT_GDB_V_6_8a=y
    25 CT_DEBUG_strace=y
    26 CT_STRACE_V_4_5_19=y
    27 CT_GMP_V_4_3_2=y
    28 CT_MPFR_V_2_4_2=y