summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-19 21:27:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-28 10:44:21 +0100
commit3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (patch)
tree66743557d4203b019988970a6fa3ac603c06c991 /meta/recipes-devtools/gcc/gcc-4.6.0.inc
parent07a6bec75c59fec06d0947ada708482900bf067a (diff)
downloadpoky-3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea.tar.gz
gcc: Add recipes for 4.6.0
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped. (From OE-Core rev: 26858099bc104efc3b3d15d9298018285c551b9a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0.inc82
1 files changed, 82 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0.inc b/meta/recipes-devtools/gcc/gcc-4.6.0.inc
new file mode 100644
index 0000000000..6f319d4880
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0.inc
@@ -0,0 +1,82 @@
1require gcc-common.inc
2
3DEPENDS =+ "mpfr gmp libmpc"
4NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native"
5
6LICENSE="GCC RUNTIME LIBRARY EXCEPTION & GPLv3"
7
8LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
9 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
10 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
11 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
12 file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8"
13
14SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
15 file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
16 file://100-uclibc-conf.patch \
17 file://gcc-uclibc-locale-ctype_touplow_t.patch \
18 file://cache-amnesia.patch \
19 file://gcc-flags-for-build.patch \
20 file://103-uclibc-conf-noupstream.patch \
21 file://200-uclibc-locale.patch \
22 file://203-uclibc-locale-no__x.patch;striplevel=1 \
23 file://204-uclibc-locale-wchar_fix.patch;striplevel=1 \
24 file://205-uclibc-locale-update.patch;striplevel=1 \
25 file://301-missing-execinfo_h.patch \
26 file://302-c99-snprintf.patch \
27 file://303-c99-complex-ugly-hack.patch \
28 file://304-index_macro.patch \
29 file://305-libmudflap-susv3-legacy.patch \
30 file://306-libstdc++-namespace.patch \
31 file://740-sh-pr24836.patch \
32 file://800-arm-bigendian.patch \
33 file://904-flatten-switch-stmt-00.patch \
34 file://arm-nolibfloat.patch \
35 file://arm-softfloat.patch \
36 file://zecke-xgcc-cpp.patch \
37 file://gcc-poison-system-directories.patch \
38 file://gcc-poison-dir-extend.patch \
39 file://gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
40 file://64bithack.patch \
41 file://optional_libstdc.patch \
42 file://disable_relax_pic_calls_flag.patch \
43 file://gcc-poison-parameters.patch \
44 file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \
45 file://COLLECT_GCC_OPTIONS.patch \
46 "
47SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
48
49SRC_URI[md5sum] = "93d1c436bf991564524701259b6285a2"
50SRC_URI[sha256sum] = "23bd0013d76ac6fb4537e5e8f4e5947129362dcc32f0d08563b7d4d9e44c0e17"
51
52
53# Language Overrides
54FORTRAN = ""
55JAVA = ""
56
57#EXTRA_OECONF_BASE = " --enable-cheaders=c_std \
58# --enable-libssp \
59# --disable-bootstrap \
60# --disable-libgomp \
61# --disable-libmudflap"
62EXTRA_OECONF_BASE = " --enable-lto \
63 --enable-libssp \
64 --disable-bootstrap \
65 --disable-libgomp \
66 --disable-libmudflap \
67 --enable-cheaders=c_global "
68
69EXTRA_OECONF_INITIAL = "--disable-libmudflap \
70 --disable-libgomp \
71 --disable-libssp \
72 --disable-libquadmath \
73 --enable-decimal-float=no"
74
75EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \
76 --disable-libgomp \
77 --disable-libquadmath \
78 --disable-libssp"
79
80EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
81EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
82EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "