* Cong Monkey: > Tks for your advice:) > > Another question: > What's the easy way to self get (int argc, char** argv) for self entry point! The easiest way is to link against an existing libc, or at least its startup code. > I use a not so elegant way like: > https://gist.github.com/congzhangzh/5141f1c4de4e7ac85d6f8d6a630207e7 If you want to use libstdc++ and the std namespace, you'll need a fairly complete libc anyway.