diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2011-10-04 00:06:08 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2011-10-04 00:06:08 +0200 |
commit | d18e7d03dd035c573a2c392ed5ac176c25f0d151 (patch) | |
tree | 0000506d39d8e72d1bcd319d24f1da736b21bd7b /configure.in | |
parent | 05f4d877b647936ba8a40a1573440a2708fa2219 (diff) | |
download | gmp-d18e7d03dd035c573a2c392ed5ac176c25f0d151.tar.gz |
Add s390/64 support, enhance s390/32 support.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.in b/configure.in index c49ab224f..66924a0fc 100644 --- a/configure.in +++ b/configure.in @@ -1114,11 +1114,23 @@ case $host in ;; - # IBM s/370 and similar + # IBM System/390 and z/Architecture [s3[6-9]0*-*-*]) + abilist="32" gcc_cflags="$gcc_cflags $fomit_frame_pointer" - path="s390" + path="s390_32" extra_functions="udiv_w_sdiv" + + case $host_cpu in + s390x) + abilist="64 32" + cclist_64="gcc" + gcc_64_cflags="$gcc_cflags -m64" + gcc_32_cflags="$gcc_cflags -m31" + path_32="s390_32/esame s390_32" + path_64="s390_64" + ;; + esac ;; |