tce-load -i compiletc gdbm-dev openssl-1.1.1-dev readline-dev tk8.6-dev wget http://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.xz cd ruby-2.7.2 CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-shared --disable-install-doc --disable-install-rdoc --disable-install-capi find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; find . -name Makefile -type f -exec sed -i 's/-ggdb3//g' {} \; find . -name config.status -type f -exec sed -i 's/-O3//g' {} \; find . -name config.status -type f -exec sed -i 's/-ggdb3//g' {} \; make [14m 59.94s] sudo make install Configuration summary for ruby version 2.7.2 * Installation prefix: /usr/local * exec prefix: ${prefix} * arch: i686-linux * site arch: ${arch} * RUBY_BASE_NAME: ruby * enable shared: yes * ruby lib prefix: ${libdir}/${RUBY_BASE_NAME} * site libraries path: ${rubylibprefix}/${sitearch} * vendor path: ${rubylibprefix}/vendor_ruby * target OS: linux * compiler: gcc -flto -march=i486 -mtune=i686 -Os -pipe * with pthread: yes * with coroutine: x86 * enable shared libs: yes * dynamic library ext: so * CFLAGS: ${optflags} ${debugflags} ${warnflags} * LDFLAGS: -L. -fstack-protector-strong -rdynamic \ -Wl,-export-dynamic * DLDFLAGS: -Wl,--compress-debug-sections=zlib * optflags: -O3 * debugflags: -ggdb3 * warnflags: -Wall -Wextra -Wdeprecated-declarations \ -Wduplicated-cond -Wimplicit-function-declaration \ -Wimplicit-int -Wmisleading-indentation \ -Wpointer-arith -Wwrite-strings \ -Wimplicit-fallthrough=0 -Wmissing-noreturn \ -Wno-cast-function-type \ -Wno-constant-logical-operand -Wno-long-long \ -Wno-missing-field-initializers \ -Wno-overlength-strings \ -Wno-packed-bitfield-compat \ -Wno-parentheses-equality -Wno-self-assign \ -Wno-tautological-compare -Wno-unused-parameter \ -Wno-unused-value -Wsuggest-attribute=format \ -Wsuggest-attribute=noreturn -Wunused-variable * strip command: strip -S -x * install doc: no * JIT support: yes * man page type: man