[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618864: [gcc-4.5] Please support ppc64



Package: gcc-4.5
Version: 4.5.2-6
Severity: wishlist
Tags: patch

Hi,

Please support ppc64.

Regards, 
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC
diff -Nurd gcc-4.5-4.5.2.orig/debian/rules.defs gcc-4.5-4.5.2/debian/rules.defs
--- gcc-4.5-4.5.2.orig/debian/rules.defs	2011-03-17 21:14:36.000000000 +0900
+++ gcc-4.5-4.5.2/debian/rules.defs	2011-03-17 21:16:53.000000000 +0900
@@ -268,7 +268,7 @@
 # build using fsf or linaro
 ifeq ($(distribution),Ubuntu)
   ifeq (,$(findstring gnat, $(PKGSOURCE)))
-  ifneq (,$(findstring $(DEB_TARGET_ARCH),amd64 armel armhf i386 powerpc))
+  ifneq (,$(findstring $(DEB_TARGET_ARCH),amd64 armel armhf i386 powerpc ppc64))
     with_linaro_branch = yes
   endif
   endif
@@ -338,7 +338,7 @@
 
 # Debian has both 4.5 and 4.6 in experimental for some archs
 ifeq ($(distribution),DebianXXXXX)
-  ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),alpha amd64 armel i386 i486 i586 i686 ia64 mips powerpc s390 sparc))
+  ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),alpha amd64 armel i386 i486 i586 i686 ia64 mips powerpc ppc64 s390 sparc))
     with_common_libs	:= no
     with_common_pkgs	:= no
   endif
@@ -518,7 +518,7 @@
 
 ifeq ($(with_java),yes)
   # use the same names as OpenJDK
-  java_cpu_map = armel=arm armhf=arm hppa=parisc i686=i386 i586=i386 i486=i386 mipsel=mips powerpc=ppc sh4=sh
+  java_cpu_map = armel=arm armhf=arm hppa=parisc i686=i386 i586=i386 i486=i386 mipsel=mips powerpc=ppc ppc64=ppc sh4=sh
   java_cpu = $(patsubst $(DEB_TARGET_ARCH_CPU)=%,%, \
                          $(filter $(DEB_TARGET_ARCH_CPU)=%,$(java_cpu_map)))
   ifeq (,$(java_cpu))
@@ -659,7 +659,7 @@
   with_objc_gc := yes
 
   # disable ObjC garbage collection library (needs libgc)
-  libgc_no_cpus := avr mips mipsel # alpha amd64 arm armel armhf hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
+  libgc_no_cpus := avr mips mipsel # alpha amd64 arm armel armhf hppa i386 ia64 m68k mips mipsel powerpc ppc64 s390 sparc
   libgc_no_systems := knetbsd-gnu
   ifneq (,$(findstring $(DEB_TARGET_ARCH_CPU),$(libgc_no_cpus)))
     with_objc_gc := disabled for cpu $(DEB_TARGET_ARCH_CPU)
@@ -753,7 +753,7 @@
 
 # gold --------------------
 # armel with binutils 2.20.51 only
-gold_archs = amd64 armel armhf i386 lpia powerpc sparc
+gold_archs = amd64 armel armhf i386 lpia powerpc ppc64 sparc
 ifneq (,$(filter $(DEB_TARGET_ARCH),$(gold_archs)))
   with_gold := yes
 endif

Reply to: