c0c7dbefbdd1ffb68015b998687ed9ff59fc0dce
[openembedded.git] / recipes / gcc / gcc-4.3.1.inc
1 # No armeb and thumb patches - really needs checking 
2 DEFAULT_PREFERENCE = "-99"
3 ARM_INSTRUCTION_SET = "arm"
4
5 require gcc-common.inc
6 LICENSE = "GPLv3"
7
8 DEPENDS = "mpfr gmp"
9 NATIVEDEPS = "mpfr-native gmp-native"
10
11 INC_PR = "r20"
12
13 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
14         file://fedora/gcc43-c++-builtin-redecl.patch;striplevel=0 \
15         file://fedora/gcc43-ia64-libunwind.patch;striplevel=0 \
16         file://fedora/gcc43-java-nomulti.patch;striplevel=0 \
17         file://fedora/gcc43-ppc32-retaddr.patch;striplevel=0 \
18         file://fedora/gcc43-pr27898.patch;striplevel=0 \
19         file://fedora/gcc43-pr32139.patch;striplevel=0 \
20         file://fedora/gcc43-pr33763.patch;striplevel=0 \
21         file://fedora/gcc43-rh330771.patch;striplevel=0 \
22         file://fedora/gcc43-rh341221.patch;striplevel=0 \
23         file://fedora/gcc43-cpp-pragma.patch;striplevel=0 \
24         file://fedora/gcc43-java-debug-iface-type.patch;striplevel=0 \
25         file://fedora/gcc43-libgomp-speedup.patch;striplevel=0 \
26         file://fedora/gcc43-i386-libgomp.patch;striplevel=0 \
27         file://fedora/gcc43-rh251682.patch;striplevel=0 \
28     file://debian/arm-unbreak-eabi-armv4t.dpatch;apply=yes \
29         file://debian/libstdc++-pic.dpatch;apply=yes;striplevel=0 \
30         file://debian/gcc-ice-hack.dpatch;apply=yes;striplevel=0 \ 
31         file://debian/pr30961.dpatch;apply=yes;striplevel=0 \
32         file://100-uclibc-conf.patch \
33         file://103-uclibc-conf-noupstream.patch \
34         file://200-uclibc-locale.patch \
35         file://203-uclibc-locale-no__x.patch \
36         file://204-uclibc-locale-wchar_fix.patch \
37         file://205-uclibc-locale-update.patch \
38         file://301-missing-execinfo_h.patch \
39         file://302-c99-snprintf.patch \
40         file://303-c99-complex-ugly-hack.patch \
41         file://304-index_macro.patch \
42         file://305-libmudflap-susv3-legacy.patch \
43         file://306-libstdc++-namespace.patch \
44         file://307-locale_facets.patch \
45 #       file://402-libbackend_dep_gcov-iov.h.patch \
46         file://602-sdk-libstdc++-includes.patch \
47         file://740-sh-pr24836.patch \
48         file://800-arm-bigendian.patch \
49         file://904-flatten-switch-stmt-00.patch \
50         file://arm-nolibfloat.patch \
51         file://arm-softfloat.patch \
52         file://arm-thumb.patch \
53         file://arm-thumb-cache.patch \
54         file://cache-amnesia.patch \
55         file://gfortran-4.3.x.patch \
56         file://gcc-4.0.2-e300c2c3.patch \
57 #       file://pr34130.patch \
58 #       file://fortran-static-linking.patch \
59         file://gcc-arm-frename-registers.patch \
60         file://gcc-release-branch/PR-36500-fix-neon.patch \
61         file://gcc-4.3.1-SYSROOT_CFLAGS_FOR_TARGET.patch \
62         file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
63         file://zecke-xgcc-cpp.patch \
64         file://gcc-4.3.x-fix-EXTRA_BUILD.patch \
65         file://gcc-flags-for-build.patch \
66 "
67
68 SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch "
69
70 # Language Overrides
71 FORTRAN = ""
72 JAVA = ""
73 FORTRAN_linux-gnueabi = ",fortran"
74
75 EXTRA_OECONF_BASE = "  --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
76 EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --enable-decimal-float=no"
77 EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"
78
79 SRC_URI[archive.md5sum] = "4afa0290cc3a41ac8822666f1110de98"
80 SRC_URI[archive.sha256sum] = "66596b80995f88cb66aaaf937598df7a9af10cc06799c3a7a64879e20b552fd5"