require gcc-common.inc
+DEPENDS = "mpfr gmp"
+
SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
- file://zecke-xgcc-cpp.patch;patch=1 \
- file://ldflags.patch;patch=1"
+ file://gcc-posix-open-fix.patch;patch=1 \
+ file://zecke-xgcc-cpp.patch;patch=1"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
# Language Overrides
FORTRAN = ",f95"
-EXTRA_OECONF_BASE = "--disable-libssp"
+EXTRA_OECONF_BASE = "--disable-libssp --disable-libmudflap"
+++ /dev/null
---- gcc-4.0.0/Makefile.tpl.old 2005-06-10 13:05:09.000000000 +0100
-+++ gcc-4.0.0/Makefile.tpl 2005-06-10 13:05:10.000000000 +0100
-@@ -339,7 +339,7 @@
- NM = @NM@
-
- LD = @LD@
--LDFLAGS =
-+LDFLAGS = @LDFLAGS@
-
- RANLIB = @RANLIB@
-
---- gcc-4.0.0/Makefile.in.old 2005-06-10 17:13:12.000000000 +0100
-+++ gcc-4.0.0/Makefile.in 2005-06-10 17:13:22.000000000 +0100
-@@ -336,7 +336,7 @@
- NM = @NM@
-
- LD = @LD@
--LDFLAGS =
-+LDFLAGS = @LDFLAGS@
-
- RANLIB = @RANLIB@
-
--- /dev/null
+require gcc-cross_${PV}.bb
+require gcc-cross-initial.inc
+
+DEPENDS += "gmp-native mpfr-native"
+
+EXTRA_OECONF += "--disable-multilib --disable-libssp --disable-libmudflap"
--- /dev/null
+require gcc-cross_${PV}.bb
+require gcc-cross-intermediate.inc
+
+EXTRA_OECONF += "--disable-multilib --disable-libssp --disable-libmudflap"
-PR = "r8"
+PR = "r9"
require gcc-${PV}.inc
require gcc-cross4.inc
-PR = "r6"
+PR = "r7"
require gcc-${PV}.inc
require gcc-configure-target.inc