diff options
author | Koen Kooi <koen@openembedded.org> | 2007-09-19 09:46:23 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-09-19 09:46:23 +0000 |
commit | 3c9b8fa0dc7f1d5c279d345492b067630dcd02c7 (patch) | |
tree | 8e23d43903ceb7d9d6a43ad1892ff8d99db691d0 /packages/gcc/gcc_4.2.1.bb | |
parent | 6a6501daef5e3f23f6e86b40f81f0d2133d60e2b (diff) |
gcc(-cross): enable fortran for arm/EABI, thanks to Alain for showing and testing the patch
Diffstat (limited to 'packages/gcc/gcc_4.2.1.bb')
-rw-r--r-- | packages/gcc/gcc_4.2.1.bb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/gcc/gcc_4.2.1.bb b/packages/gcc/gcc_4.2.1.bb index 7c50167345..a4ac7a99a4 100644 --- a/packages/gcc/gcc_4.2.1.bb +++ b/packages/gcc/gcc_4.2.1.bb @@ -1,4 +1,4 @@ -PR = "r3" +PR = "r4" DESCRIPTION = "The GNU cc and gcc C compilers." HOMEPAGE = "http://www.gnu.org/software/gcc/" SECTION = "devel" @@ -55,19 +55,22 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://arm-crunch-truncsi-disable.patch;patch=1 \ file://arm-crunch-cfcvt64-disable.patch;patch=1 \ file://arm-crunch-cirrus-bugfixes.patch;patch=1 \ - " + file://gfortran.patch;patch=1 \ + " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " #Set the fortran bits -# 'fortran' or '', not 'f77' like gcc3 had +# 'i,fortran' or '', not 'f77' like gcc3 had FORTRAN = "" +FORTRAN_linux-gnueabi = ",fortran" HAS_GFORTRAN = "no" -HAS_G2C = "no" +HAS_GFORTRAN_linux-gnueabi = "yes" +HAS_G2C = "yes" #Set the java bits -JAVA_arm = "" JAVA = "" +JAVA_arm = "" LANGUAGES = "c,c++${FORTRAN}${JAVA}" require gcc3-build.inc |