Bug#264857: gcc-3.4: please support the powerpc64 architecture
Package: gcc-3.4
Version: 3.4.1-5
Severity: wishlist
Tags: patch
Please include add --disable-multilib and make /lib64 be a link to /lib if the architecture is powerpc64
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
Versions of packages gcc-3.4 depends on:
ii binutils 2.15-1 The GNU assembler, linker and bina
ii cpp-3.4 3.4.1-5 The GNU C preprocessor
ii gcc-3.4-base 3.4.1-5 The GNU Compiler Collection (base
ii libc6 2.3.2.ds1-15 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.1-5 GCC support library
-- no debconf information
diff -r -u gcc-3.4-3.4.1ds1.orig/debian/rules2 gcc-3.4-3.4.1ds1.orig-new/debian/rules2
--- gcc-3.4-3.4.1ds1.orig/debian/rules2 2004-08-05 18:17:55.941099920 +0000
+++ gcc-3.4-3.4.1ds1.orig-new/debian/rules2 2004-08-05 18:17:29.996051432 +0000
@@ -147,7 +147,7 @@
CONFARGS += --with-cpu=default32
endif
-ifeq ($(DEB_TARGET_GNU_CPU),x86_64)
+ifeq ($(DEB_TARGET_GNU_CPU), $(findstring $(DEB_TARGET_GNU_CPU),x86_64 powerpc64))
CONFARGS += --disable-multilib
endif
@@ -922,7 +922,7 @@
rm -rf $(d)
mkdir -p $(d)/$(libdir) $(d)/$(PF)
-ifeq ($(DEB_TARGET_GNU_CPU),x86_64)
+ifeq ($(DEB_TARGET_GNU_CPU), $(findstring $(DEB_TARGET_GNU_CPU),x86_64 powerpc64))
: # link lib to lib64 and usr/lib to usr/lib64
: # (this works when CONFARGS contains '--disable-multilib')
ln -s lib $(d)/lib64
Reply to: