summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-12 23:44:30 -0400
committermidipix <writeonce@midipix.org>2015-09-13 22:58:37 -0400
commit50bd336141e1e0517983738b96d1a1d50829ca87 (patch)
tree8e3c3d0a552facd74bfbdfe522cf8ffcfab3db90
parente84fa8edbd603b91ed1e0cd331c8f0d6f78f0391 (diff)
downloadcbb-gcc-4.6.4-50bd336141e1e0517983738b96d1a1d50829ca87.tar.bz2
cbb-gcc-4.6.4-50bd336141e1e0517983738b96d1a1d50829ca87.tar.xz
fix build recipes for the 32-bit midipix targets.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
-rw-r--r--gcc/config.gcc3
-rw-r--r--libgcc/config.host5
-rw-r--r--libgcc/configure2
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index c301f9e11..945789738 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2839,6 +2839,9 @@ m32c-*-elf*)
use_gcc_tgmath=no
use_gcc_stdint=wrap
+
+ need_64bit_hwint=yes
+ need_64bit_isa=yes
;;
*)
echo "*** Configuration ${target} not supported" 1>&2
diff --git a/libgcc/config.host b/libgcc/config.host
index f77a42120..0899746de 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -335,7 +335,7 @@ i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
x86_64-*-mingw*)
;;
i[34567]86-*-midipix*)
- tmake_file="${tmake_file} i386/t-midipix"
+ tmake_file="${tmake_file} i386/t-midipix $(srcdir)/config/t-softfp $(srcdir)/config/i386/32/t-fprules-softfp"
;;
x86_64-*-midipix*)
tmake_file="${tmake_file} i386/t-midipix"
@@ -617,6 +617,7 @@ case ${host} in
i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
i[34567]86-*-linux* | x86_64-*-linux* | \
+ i[34567]86-*-midipix* | x86_64-*-midipix* | \
i[34567]86-*-gnu* | \
i[34567]86-*-solaris2* | \
i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
@@ -628,7 +629,7 @@ i[34567]86-*-darwin* | x86_64-*-darwin* | \
esac
case ${host} in
-i[34567]86-*-linux* | x86_64-*-linux* | x86_64-*-midipix*)
+i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-linux* | x86_64-*-midipix*)
# Provide backward binary compatibility for 64bit Linux/x86.
if test "${host_address}" = 64; then
tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
diff --git a/libgcc/configure b/libgcc/configure
index 26d3feba4..b12db5ccc 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -3683,7 +3683,7 @@ else
case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
- i?86*-*-mingw* | x86_64*-*-mingw* | \
+ i?86*-*-mingw* | x86_64*-*-mingw* | i?86*-*-midipix* | x86_64*-*-midipix* | \
i?86*-*-cygwin*)
enable_decimal_float=yes
;;