tce-load -i compiletc wxwidgets-dev
 
wget https://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2

cd p7zip_16.02

cp makefile.linux_any_cpu makefile.machine
edit makefile.machine
CC=gcc -flto -mtune=generic -Os -pipe
CXX=g++ -flto -mtune=generic -Os -pipe -std=gnu++14

edit CPP/Windows/ErrorMsg.cpp
switch(errorCode) { -> switch(HRESULT(errorCode)) {
switch(messageID) { -> switch(HRESULT(messageID)) {

make all3 [3m 39.05s]
sudo make DEST_HOME=/usr/local DEST_MAN=/usr/local/share/man DEST_SHARE_DOC=/usr/local/share/doc/p7zip-16.02 install



git clone https://github.com/ErnyTech/p7zip

cd p7zip

make all_all [5m 47.25s]
