Skip to content

Commit 53905be

Browse files
committedJul 14, 2016
Removed 32-bit platform support.
1 parent 7bf377b commit 53905be

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed
 

‎configure

+5-26
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class Configure
7070

7171
# System settings
7272
@libc = nil
73-
@x86_32 = false
7473
@x86_64 = false
7574
@dtrace = false
7675
@dtrace_const = false
@@ -973,30 +972,6 @@ int main() { X x; return 0; }
973972
end
974973

975974
def detect_x86
976-
print "Checking for x86_32: "
977-
978-
if sizeof("long") == 4
979-
status = check_program do |f|
980-
src = <<-EOP
981-
int main() {
982-
#if defined(i386) || defined(__i386__) || defined(__i386)
983-
return 1;
984-
#else
985-
return 0;
986-
#endif
987-
}
988-
EOP
989-
990-
f.puts src
991-
@log.log src
992-
end
993-
@x86_32 = (status == 1)
994-
end
995-
996-
puts @x86_32 ? "yes" : "no"
997-
998-
return if @x86_32
999-
1000975
print "Checking for x86_64: "
1001976

1002977
status = check_program do |f|
@@ -1573,7 +1548,6 @@ int main() { return tgetnum(""); }
15731548
:os => @os,
15741549
:little_endian => @little_endian,
15751550
:sizeof_long => sizeof("long"),
1576-
:x86_32 => @x86_32,
15771551
:x86_64 => @x86_64,
15781552
:dtrace => @dtrace,
15791553
:dtrace_const => @dtrace_const,
@@ -1869,6 +1843,11 @@ int main() { return tgetnum(""); }
18691843
set_filesystem_paths
18701844

18711845
process
1846+
1847+
unless sizeof("long") == 8
1848+
failure "Support for non-64bit platforms was deprecated 1 Jun 2016 and has now been removed. If non-64bit support is a critical feature for your application, please email contact@rubinius.com"
1849+
end
1850+
18721851
if @release_build
18731852
verify_gems
18741853
else

0 commit comments

Comments
 (0)
Please sign in to comment.