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

Bug#155002: SuperH supports



Package: gcc-defaults
Version: 1.0
Severity: wishlist
Tags: patch

Hi,

I'm one of the porters of Debian/sh.

GCC supports Linux/SH in 3.0 or later, and only gcc, g++ and gobjc
packages are currently available.  Could you please apply following
patch to gcc-defaults' debian/rules?


diff -ruN gcc-defaults-1.0.orig/debian/rules gcc-defaults-1.0/debian/rules
--- gcc-defaults-1.0.orig/debian/rules	2002-05-15 07:26:47.000000000 +0900
+++ gcc-defaults-1.0/debian/rules	2002-08-01 01:50:30.000000000 +0900
@@ -85,6 +85,15 @@
     packages := chill c++ fortran objc pascal
 endif
 
+tmp:=$(filter $(DEB_HOST_GNU_TYPE),sh3-linux sh4-linux sh3eb-linux sh4eb-linux)
+ifeq ($(DEB_HOST_GNU_TYPE),$(tmp))
+    CV_CPP	:= 3.0.4-$(REL_NO_30)
+    CV_GCC	:= 3.0.4-$(REL_NO_30)
+    CV_GPP	:= 3.0.4-$(REL_NO_30)
+    CV_GOBJC	:= 3.0.4-$(REL_NO_30)
+    packages	:= c++ objc
+endif
+
 ifeq ($(DEB_HOST_GNU_TYPE),i386-gnu)
     CV_CPP	:= 3.1-$(REL_NO_31)
     CV_GCC	:= 3.1-$(REL_NO_31)


Regards,
--
YAEGASHI Takeshi <t@keshi.org> <takeshi@yaegashi.jp> <yaegashi@dodes.org>



Reply to: