简体   繁体   中英

Android Bionic and Libc libraries

I want to create small command interpreter for android (shell). It should perform only few features : 'scanf','printf','cd', 'pwd', 'echo','set', 'unset', 'exit' and should support internal path variables : 'path', 'home', 'status'. Is it possible to fulfil this using Native Android Kit and bionic library. I would be grateful for any help. Thanks in advance.

是的,您应该只使用NDK创建一个可执行程序二进制文件(例如,使用“ include $(BUILD_EXECUTABLE)”代替“ include $(BUILD_SHARED_LIBRARY)”)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM