tce-load -i compiletc cd tinyxml patch -Np1 -i ../tinyxml_2_6_2-enforce-use-stl.patch patch -Np1 -i ../tinyxml_2_6_2-entity-encoding.patch Edit Makefile CC := gcc -mtune=generic -Os -pipe CXX := g++ -mtune=generic -Os -pipe -fPIC LD := g++ -mtune=generic -Os -pipe TINYXML_USE_STL := YES RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format RELEASE_LDFLAGS := find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; make ar rvs libtinyxml.a tinystr.o tinyxml.o tinyxmlparser.o tinyxmlerror.o g++ -mtune=generic -Os -pipe -shared -Wl,-soname,libtinyxml.so.2.6.2 -o libtinyxml.so.2.6.2 tinystr.o tinyxml.o tinyxmlparser.o tinyxmlerror.o