tce-load -i compiletc nspr-dev python readline-dev icu62-dev yasm autoconf2.13 http://tinycorelinux.net/9.x/x86_64/tcz/src/js52/mozjs-52.6.0gnome1.tar.xz cd mozjs-52.6.0gnome1 copy icu/readline libs to /usr/lib cd js/src OS_LIBS="-latomic" CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-threadsafe --with-system-nspr --enable-readline --with-intl-api --with-system-zlib --with-system-icu find . -name autoconf.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name backend.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name autoconf.mk -type f -exec sed -i 's/FLAGS = -g/FLAGS = /g' {} \; find . -name autoconf.mk -type f -exec sed -i 's/ -g//g' {} \; find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name config.status -type f -exec sed -i 's/-O3//g' {} \; make [19m 18.32s] sudo make install /tmp/tcloop/gcc/usr/local/include/c++/9.2.0/bits/atomic_base.h:541: error: undefined reference to '__atomic_fetch_add_8 # find /usr/local/include/mozjs-52/ /usr/local/lib/libmozjs-52.ajs /usr/local/lib/pkgconfig/mozjs-52.pc -type f -exec chmod 644 {} \;