how to native compile on tomato's entware/optware

It's a ugly way, sorry.