tce-load -i compiletc lvm2-dev dosfstools wget https://ftp.gnu.org/gnu/parted/parted-3.6.tar.xz cd parted-3.6 edit configure for ac_lib in '' tinfo ncursesw curses termcap termlib; do ac_fn_c_check_header_compile "$LINENO" "ncursesw/termcap.h" "ac_cv_header_termcap_h" "$ac_includes_default" edit parted/ui.c #include 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 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 25.53s] sudo make install