tce-load -i compiletc popt-dev ncursesw-dev wget http://www.rodsbooks.com/gdisk/gptfdisk-1.0.8.tar.gz cd gptfdisk-1.0.8 patch -Np1 -i ../gptfdisk-1.0.8-convenience-1.patch sed -i 's|ncursesw/||' gptcurses.cc edit Makefile CXX=g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti install -dm 755 $(DESTDIR)/usr/local/sbin $(DESTDIR)/usr/share/man/man8 install -m755 gdisk cgdisk sgdisk fixparts $(DESTDIR)/usr/local/sbin install -m644 *.8 $(DESTDIR)/usr/local/share/man/man8 make [0m 14.42s] sudo make install