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

Bug#623544: gcc-4.5: sh4: Please build with m4-nofpu only gcc



Source: gcc-4.5
Version: 4.5.2-10
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

Debian/SH4 is mutilib with m4 and m4-nofpu.
m4-nofpu was build for only support linux kenrel building.
Therefore, m4-nofpu is not necessary for other toolchains.
This gcc (only libgcc) builds m4-nofpu.

Or If there are other good methods, would you teach it?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
# Debian/SH4 is mutilib with m4 and m4-nofpu.
# m4-nofpu was build for only support linux kenrel building.
# Therefore, m4-nofpu is not necessary for other toolchains.
# This gcc (only libgcc) builds m4-nofpu.

diff --git a/src/config-ml.in b/src/config-ml.in
index 87a60df..e3f8b88 100644
--- a/src/config-ml.in
+++ b/src/config-ml.in
@@ -486,6 +486,13 @@ powerpc*-*-* | rs6000*-*-*)
 	  *" 64 "*) ac_configure_args="${ac_configure_args} --host=powerpc64-linux-gnu"
 	esac
 	;;
+sh4*-*-*)
+	targetlib=$(basename `pwd`)
+	case "$targetlib" in
+	  libgcc) : ;;
+	  *) multidirs="" ;;
+	esac
+	;;
 s390-*-*)
 	case " $multidirs " in
 	  *" 64 "*) ac_configure_args="${ac_configure_args} --host=s390x-linux-gnu"

Reply to: