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

Bug#618865: [gcc-4.6] Please support ppc64



Package: gcc-4.6
Version: 4.6.0~rc1-1
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.6-4.6.0~rc1.orig/debian/rules.defs gcc-4.6-4.6.0~rc1/debian/rules.defs
--- gcc-4.6-4.6.0~rc1.orig/debian/rules.defs	2011-03-17 21:01:48.000000000 +0900
+++ gcc-4.6-4.6.0~rc1/debian/rules.defs	2011-03-17 21:06:47.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
@@ -510,7 +510,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=powerpc sh4=sh
   java_cpu = $(patsubst $(DEB_TARGET_ARCH_CPU)=%,%, \
                          $(filter $(DEB_TARGET_ARCH_CPU)=%,$(java_cpu_map)))
   ifeq (,$(java_cpu))
@@ -662,7 +662,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)
@@ -787,7 +787,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: