summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Shinwell <mshinwell@janestreet.com>2017-04-10 09:18:13 +0100
committerMark Shinwell <mshinwell@janestreet.com>2017-04-10 09:18:13 +0100
commit3efe66e043bb2315517e9059066dc5d36aa78cac (patch)
tree8daa6efbc8688a581ea30552801a6a5785e96f01 /configure
parent80e7529be59f818f201586d2fbe05db85b62d3c5 (diff)
downloadocaml-3efe66e043bb2315517e9059066dc5d36aa78cac.tar.gz
Remove SPARC backend
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 5 insertions, 19 deletions
diff --git a/configure b/configure
index 4d6940ac94..8cb221ffe2 100755
--- a/configure
+++ b/configure
@@ -658,9 +658,9 @@ esac
# Determine alignment constraints
case "$target" in
- sparc*-*-*|hppa*-*-*|arm*-*-*|mips*-*-*)
+ hppa*-*-*|arm*-*-*|mips*-*-*)
# On Sparc V9 with certain versions of gcc, determination of double
- # alignment is not reliable (PR#1521), hence force it.
+ # alignment is not reliable (PR#1521), hence we used to force it.
# Same goes for hppa.
# PR#5088 suggests same problem on ARM.
# PR#5280 reports same problem on MIPS.
@@ -696,7 +696,7 @@ esac
case "$target" in
# PR#5088: autodetection is unreliable on ARM. PR#5280: also on MIPS.
- sparc*-*-*|hppa*-*-*|arm*-*-*|mips*-*-*)
+ hppa*-*-*|arm*-*-*|mips*-*-*)
if test $2 = 8; then
inf "64-bit integers can be word-aligned."
echo "#undef ARCH_ALIGN_INT64" >> m.h
@@ -845,7 +845,6 @@ if $with_sharedlibs; then
x86_64-*-darwin*) natdynlink=true;;
s390x*-*-linux*) natdynlink=true;;
powerpc*-*-linux*) natdynlink=true;;
- sparc*-*-linux*) natdynlink=true;;
i686-*-kfreebsd*) natdynlink=true;;
x86_64-*-kfreebsd*) natdynlink=true;;
x86_64-*-dragonfly*) natdynlink=true;;
@@ -878,10 +877,6 @@ model=default
system=unknown
case "$target" in
- sparc*-*-solaris2.*) arch=sparc; system=solaris;;
- sparc*-*-*bsd*) arch=sparc; system=bsd;;
- sparc*-*-linux*) arch=sparc; system=linux;;
- sparc*-*-gnu*) arch=sparc; system=gnu;;
i[3456]86-*-linux*) arch=i386; system=linux_`sh ./runtest elf.c`;;
i[3456]86-*-*bsd*) arch=i386; system=bsd_`sh ./runtest elf.c`;;
i[3456]86-*-solaris*) if $arch64; then
@@ -937,7 +932,7 @@ esac
# Sometimes, it's 32-bit mode that is not supported (PR#6722).
case "$arch64,$arch,$model" in
- true,sparc,*|true,power,ppc|false,amd64,*)
+ true,power,ppc|false,amd64,*)
arch=none; model=default; system=unknown;;
esac
@@ -981,18 +976,13 @@ case "$arch,$system" in
fi;;
s390x,elf) as="${TOOLPREF}as -m 64 -march=$model"
aspp="${TOOLPREF}gcc -c -Wa,-march=$model";;
- sparc,solaris) as="${TOOLPREF}as"
- case "$cc" in
- *gcc*) aspp="${TOOLPREF}gcc -c";;
- *) aspp="${TOOLPREF}as -P";;
- esac;;
arm,freebsd) as="${TOOLPREF}cc -c"
aspp="${TOOLPREF}cc -c";;
*,dragonfly) as="${TOOLPREF}as"
aspp="${TOOLPREF}cc -c";;
*,freebsd) as="${TOOLPREF}as"
aspp="${TOOLPREF}cc -c";;
- amd64,*|arm,*|arm64,*|i386,*|power,bsd*|sparc,*)
+ amd64,*|arm,*|arm64,*|i386,*|power,bsd*,*)
as="${TOOLPREF}as"
case "$ccfamily" in
clang-*)
@@ -1014,10 +1004,6 @@ case "$arch,$system" in
i386,bsd_elf) profiling='true';;
amd64,macosx) profiling='true';;
i386,macosx) profiling='true';;
- sparc,bsd) profiling='true';;
- sparc,solaris)
- profiling='true'
- case "$cc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
amd64,linux) profiling='true';;
amd64,openbsd) profiling='true';;
amd64,freebsd) profiling='true';;