mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 10:46:26 +00:00
Sample config for e500v2 toolchain
On Tuesday 14 October 2008 17:05:31 Nate Case wrote: > This is a sample config file for Freescale e500v2 processors (e.g., > MPC8548, MPC8572). It uses eglibc (for e500/SPE patches) and a recent > gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate > dual-precision floating point instructions by default. > > Note: If building a Linux kernel with this toolchain, you will want to > make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE > ABI/instructions from getting into the kernel (which is currently > unsupported). At this time, the kernel build system only passes > -mno-spe by default (this should be fixed soon hopefully). > > A binutils snapshot is used to fix a bug present in 2.18 preventing > U-Boot from being compiled (CodeSourcery issue #2297: internal.h > (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of > memory). Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it. /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 307 307 0 0 +++++++++++++++++++ 1 file changed, 307 insertions(+)
This commit is contained in:
parent
9ec3651eff
commit
6ab2f244ca
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# crosstool-NG version: 1.2.0+svn_trunk@1032M
|
||||
# Sun Sep 28 20:16:41 2008
|
||||
# crosstool-NG version: 1.2.0+svn_trunk@1078
|
||||
# Tue Oct 14 09:42:55 2008
|
||||
#
|
||||
|
||||
#
|
||||
@ -13,7 +13,6 @@
|
||||
#
|
||||
# CT_OBSOLETE is not set
|
||||
CT_EXPERIMENTAL=y
|
||||
# CT_BROKEN is not set
|
||||
# CT_DEBUG_CT is not set
|
||||
|
||||
#
|
||||
@ -86,7 +85,7 @@ CT_ARCH_CPU="8548"
|
||||
CT_ARCH_TUNE="8548"
|
||||
CT_ARCH_FLOAT_HW=y
|
||||
# CT_ARCH_FLOAT_SW is not set
|
||||
CT_TARGET_CFLAGS=""
|
||||
CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2"
|
||||
CT_TARGET_LDFLAGS=""
|
||||
|
||||
#
|
||||
@ -97,10 +96,10 @@ CT_TARGET_LDFLAGS=""
|
||||
# CT_ARCH_ia64 is not set
|
||||
# CT_ARCH_mips is not set
|
||||
CT_ARCH_powerpc=y
|
||||
CT_ARCH_POWERPC_SPE=y
|
||||
# CT_ARCH_sh is not set
|
||||
# CT_ARCH_x86 is not set
|
||||
# CT_ARCH_x86_64 is not set
|
||||
# CT_ARCH_x86 is not set
|
||||
CT_ARCH_POWERPC_SPE=y
|
||||
|
||||
#
|
||||
# Target optimisations
|
||||
@ -115,7 +114,7 @@ CT_ARCH_POWERPC_SPE=y
|
||||
#
|
||||
CT_USE_SYSROOT=y
|
||||
CT_SHARED_LIBS=y
|
||||
CT_TARGET_VENDOR="unknown"
|
||||
CT_TARGET_VENDOR="e500v2"
|
||||
CT_TARGET_ALIAS_SED_EXPR=""
|
||||
CT_TARGET_ALIAS=""
|
||||
|
||||
@ -147,30 +146,15 @@ CT_KERNEL_LINUX_INSTALL_CHECK=y
|
||||
# CT_KERNEL_V_2_6_22_19 is not set
|
||||
# CT_KERNEL_V_2_6_23_17 is not set
|
||||
# CT_KERNEL_V_2_6_24_7 is not set
|
||||
# CT_KERNEL_V_2_6_25 is not set
|
||||
# CT_KERNEL_V_2_6_25_1 is not set
|
||||
# CT_KERNEL_V_2_6_25_2 is not set
|
||||
# CT_KERNEL_V_2_6_25_3 is not set
|
||||
# CT_KERNEL_V_2_6_25_4 is not set
|
||||
# CT_KERNEL_V_2_6_25_5 is not set
|
||||
# CT_KERNEL_V_2_6_25_6 is not set
|
||||
# CT_KERNEL_V_2_6_25_7 is not set
|
||||
# CT_KERNEL_V_2_6_25_8 is not set
|
||||
# CT_KERNEL_V_2_6_25_9 is not set
|
||||
# CT_KERNEL_V_2_6_25_10 is not set
|
||||
# CT_KERNEL_V_2_6_25_11 is not set
|
||||
# CT_KERNEL_V_2_6_25_12 is not set
|
||||
# CT_KERNEL_V_2_6_25_13 is not set
|
||||
# CT_KERNEL_V_2_6_25_14 is not set
|
||||
# CT_KERNEL_V_2_6_25_15 is not set
|
||||
# CT_KERNEL_V_2_6_25_16 is not set
|
||||
# CT_KERNEL_V_2_6_25_17 is not set
|
||||
# CT_KERNEL_V_2_6_25_18 is not set
|
||||
# CT_KERNEL_V_2_6_26 is not set
|
||||
# CT_KERNEL_V_2_6_26_1 is not set
|
||||
# CT_KERNEL_V_2_6_26_2 is not set
|
||||
# CT_KERNEL_V_2_6_26_3 is not set
|
||||
# CT_KERNEL_V_2_6_26_4 is not set
|
||||
CT_KERNEL_V_2_6_26_5=y
|
||||
# CT_KERNEL_V_2_6_26_6 is not set
|
||||
# CT_KERNEL_V_2_6_27 is not set
|
||||
CT_KERNEL_LINUX_VERBOSITY_0=y
|
||||
# CT_KERNEL_LINUX_VERBOSITY_1 is not set
|
||||
# CT_KERNEL_LINUX_VERBOSITY_2 is not set
|
||||
@ -183,27 +167,34 @@ CT_KERNEL_LINUX_VERBOSE_LEVEL=0
|
||||
CT_GMP_MPFR=y
|
||||
CT_GMP_MPFR_TARGET=y
|
||||
CT_GMP_V_4_2_2=y
|
||||
# CT_GMP_V_4_2_4 is not set
|
||||
CT_GMP_VERSION="4.2.2"
|
||||
CT_GMP_CHECK=y
|
||||
CT_MPFR_V_2_3_1=y
|
||||
# CT_MPFR_V_2_3_2 is not set
|
||||
CT_MPFR_VERSION="2.3.1"
|
||||
CT_MPFR_CHECK=y
|
||||
|
||||
#
|
||||
# binutils
|
||||
#
|
||||
CT_BINUTILS_VERSION="2.18"
|
||||
CT_BINUTILS_VERSION="2.18.90"
|
||||
# CT_BINUTILS_V_2_14 is not set
|
||||
# CT_BINUTILS_V_2_15 is not set
|
||||
# CT_BINUTILS_V_2_16_1 is not set
|
||||
# CT_BINUTILS_V_2_17 is not set
|
||||
CT_BINUTILS_V_2_18=y
|
||||
# CT_BINUTILS_V_2_18 is not set
|
||||
# CT_BINUTILS_V_2_18_50_0_4 is not set
|
||||
# CT_BINUTILS_V_2_18_50_0_6 is not set
|
||||
# CT_BINUTILS_V_2_18_50_0_7 is not set
|
||||
# CT_BINUTILS_V_2_18_50_0_8 is not set
|
||||
# CT_BINUTILS_V_2_18_50_0_9 is not set
|
||||
CT_BINUTILS_EXTRA_CONFIG=""
|
||||
CT_BINUTILS_V_2_18_90=y
|
||||
# CT_BINUTILS_V_2_18_91 is not set
|
||||
# CT_BINUTILS_V_2_18_92 is not set
|
||||
# CT_BINUTILS_V_2_18_93 is not set
|
||||
# CT_BINUTILS_V_2_19_50_0_1 is not set
|
||||
CT_BINUTILS_EXTRA_CONFIG="--enable-spe=yes --enable-e500x2 --with-e500x2"
|
||||
CT_BINUTILS_FOR_TARGET=y
|
||||
CT_BINUTILS_FOR_TARGET_IBERTY=y
|
||||
CT_BINUTILS_FOR_TARGET_BFD=y
|
||||
@ -211,9 +202,9 @@ CT_BINUTILS_FOR_TARGET_BFD=y
|
||||
#
|
||||
# C compiler
|
||||
#
|
||||
CT_CC_GCC=y
|
||||
CT_CC_VERSION="4.3.2"
|
||||
CT_CC="gcc"
|
||||
CT_CC_VERSION="4.3.1"
|
||||
CT_CC_gcc=y
|
||||
# CT_CC_V_2_95_3 is not set
|
||||
# CT_CC_V_3_2_3 is not set
|
||||
# CT_CC_V_3_3_6 is not set
|
||||
@ -232,15 +223,15 @@ CT_CC="gcc"
|
||||
# CT_CC_V_4_2_3 is not set
|
||||
# CT_CC_V_4_2_4 is not set
|
||||
# CT_CC_V_4_3_0 is not set
|
||||
# CT_CC_V_4_3_1 is not set
|
||||
CT_CC_V_4_3_2=y
|
||||
CT_CC_V_4_3_1=y
|
||||
# CT_CC_V_4_3_2 is not set
|
||||
CT_CC_GCC_4_3_or_later=y
|
||||
CT_CC_CXA_ATEXIT=y
|
||||
CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
|
||||
# CT_CC_SJLJ_EXCEPTIONS_USE is not set
|
||||
# CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
|
||||
CT_CC_CORE_EXTRA_CONFIG=""
|
||||
CT_CC_EXTRA_CONFIG=""
|
||||
CT_CC_EXTRA_CONFIG="--with-long-double-128"
|
||||
CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
|
||||
CT_CC_BUGURL=""
|
||||
CT_CC_SUPPORT_CXX=y
|
||||
@ -265,10 +256,17 @@ CT_LIBC="eglibc"
|
||||
#
|
||||
# C-library
|
||||
#
|
||||
CT_LIBC_VERSION="2_8"
|
||||
# CT_LIBC_GLIBC is not set
|
||||
CT_LIBC_EGLIBC=y
|
||||
# CT_LIBC_UCLIBC is not set
|
||||
CT_LIBC_VERSION="2_6"
|
||||
CT_LIBC_eglibc=y
|
||||
# CT_LIBC_glibc is not set
|
||||
# CT_LIBC_uClibc is not set
|
||||
# CT_EGLIBC_V_2_5 is not set
|
||||
CT_EGLIBC_V_2_6=y
|
||||
# CT_EGLIBC_V_2_7 is not set
|
||||
# CT_EGLIBC_V_2_8 is not set
|
||||
# CT_EGLIBC_V_TRUNK is not set
|
||||
CT_EGLIBC_REVISION="HEAD"
|
||||
CT_EGLIBC_CHECKOUT=y
|
||||
|
||||
#
|
||||
# Common C library options
|
||||
@ -280,17 +278,6 @@ CT_THREADS_NPTL=y
|
||||
# CT_THREADS_LINUXTHREADS is not set
|
||||
# CT_THREADS_NONE is not set
|
||||
|
||||
#
|
||||
# eglibc specific options
|
||||
#
|
||||
# CT_EGLIBC_V_2_5 is not set
|
||||
# CT_EGLIBC_V_2_6 is not set
|
||||
# CT_EGLIBC_V_2_7 is not set
|
||||
CT_EGLIBC_V_2_8=y
|
||||
# CT_EGLIBC_V_TRUNK is not set
|
||||
CT_EGLIBC_REVISION="HEAD"
|
||||
CT_EGLIBC_CHECKOUT=y
|
||||
|
||||
#
|
||||
# glibc/eglibc common options
|
||||
#
|
||||
@ -307,52 +294,14 @@ CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.5"
|
||||
#
|
||||
# Tools facilities
|
||||
#
|
||||
CT_SSTRIP=y
|
||||
# CT_SSTRIP_ELFKICKERS is not set
|
||||
CT_SSTRIP_BUILDROOT=y
|
||||
CT_SSTRIP_FROM="buildroot"
|
||||
# CT_TOOL_libelf is not set
|
||||
# CT_TOOL_sstrip is not set
|
||||
|
||||
#
|
||||
# Debug facilities
|
||||
#
|
||||
CT_DMALLOC=y
|
||||
# CT_DMALLOC_V_5_4_3 is not set
|
||||
CT_DMALLOC_V_5_5_2=y
|
||||
CT_DMALLOC_VERSION="5.5.2"
|
||||
CT_DUMA=y
|
||||
CT_DUMA_A=y
|
||||
CT_DUMA_SO=y
|
||||
# CT_DUMA_V_2_5_1 is not set
|
||||
# CT_DUMA_V_2_5_8 is not set
|
||||
# CT_DUMA_V_2_5_12 is not set
|
||||
CT_DUMA_V_2_5_14=y
|
||||
CT_DUMA_VERSION="2_5_14"
|
||||
CT_GDB=y
|
||||
CT_GDB_CROSS=y
|
||||
# CT_GDB_CROSS_STATIC is not set
|
||||
# CT_GDB_CROSS_INSIGHT is not set
|
||||
CT_GDB_NATIVE=y
|
||||
# CT_GDB_NATIVE_STATIC is not set
|
||||
CT_GDB_NATIVE_USE_GMP_MPFR=y
|
||||
CT_GDB_GDBSERVER=y
|
||||
CT_GDB_GDBSERVER_STATIC=y
|
||||
# CT_GDB_V_6_4 is not set
|
||||
# CT_GDB_V_6_5 is not set
|
||||
# CT_GDB_V_6_6 is not set
|
||||
# CT_GDB_V_6_7 is not set
|
||||
# CT_GDB_V_6_7_1 is not set
|
||||
CT_GDB_V_6_8=y
|
||||
# CT_GDB_V_snapshot is not set
|
||||
CT_GDB_VERSION="6.8"
|
||||
|
||||
#
|
||||
# Native gdb needs the ncurses library on the target
|
||||
#
|
||||
CT_NCURSES_V_5_6=y
|
||||
CT_NCURSES_VERSION="5.6"
|
||||
CT_STRACE=y
|
||||
# CT_STRACE_V_4_5 is not set
|
||||
# CT_STRACE_V_4_5_14 is not set
|
||||
# CT_STRACE_V_4_5_15 is not set
|
||||
CT_STRACE_V_4_5_16=y
|
||||
CT_STRACE_VERSION="4.5.16"
|
||||
# CT_DEBUG_dmalloc is not set
|
||||
# CT_DEBUG_duma is not set
|
||||
# CT_DEBUG_gdb is not set
|
||||
# CT_DEBUG_ltrace is not set
|
||||
# CT_DEBUG_strace is not set
|
Loading…
Reference in New Issue
Block a user